Enabling module without adding permissions doesn't restrict anything

Created on 29 February 2024, about 1 year ago

I enabled the module, and then noticed that all of the checkboxes for a particular bundle's create permission were unchecked (except for Admin).

I created a test user who's not admin, and tried creating the bundle via a node that creates the bundle via Inline Entity Form.

It worked, when I was expecting either:

  1. the entity form not showing up, or
  2. a form validation failure preventing me from submitting the form because of the lack of permission.

Neither happened. The entity was created.

I even tried checking a box for the permission for another role that the test user isn't in, just in case at least one of the boxes has to be checked. This didn't work either. I was still able to create the entity.

Is there something I'm missing in order for the module to take effect?

🐛 Bug report
Status

Active

Version

1.1

Component

Miscellaneous

Created by

🇨🇦Canada colan Toronto 🇨🇦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024