-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Labels
flag: EEIssues correlates to internal EE ticketIssues correlates to internal EE ticketissue: bugIssue reporting a bugIssue reporting a bugseverity: highIf it breaks the basic use of the productIf it breaks the basic use of the productsource: core:adminSource is core/admin packageSource is core/admin packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community membersversion: 5Issue is present in Strapi 5Issue is present in Strapi 5
Description
Bug report
Required System information
- Node.js version: 18.16.0
- NPM version: 9.6.7
- Strapi version: 4.10.5, 4.10.6, 4.10.7
- Database: Postgres
- Operating system: Windows
- Is your project Javascript or Typescript: Typescript
Describe the bug
RBAC permissions resets on required fields when restarting Strapi
Steps to reproduce the behavior
- Create a require field
- Remove all the RBAC permissions (Create, Read, Update) for that field in a Role
- Save it
- It will work fine
- Restart Strapi and now every RBAC permissions is resets for Create, Read, Update, and the Users in the Role can access the field again.
Expected behavior
Even if its a required field RBAC permissions shouldn't reset to it default (allow) on that field. This is unexpected and cause security issues, because you believe the Role can't access or change that field.
ray1005yb, brjakab, sayaandreas, huy-lv, vimanvh and 4 more
Metadata
Metadata
Assignees
Labels
flag: EEIssues correlates to internal EE ticketIssues correlates to internal EE ticketissue: bugIssue reporting a bugIssue reporting a bugseverity: highIf it breaks the basic use of the productIf it breaks the basic use of the productsource: core:adminSource is core/admin packageSource is core/admin packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community membersversion: 5Issue is present in Strapi 5Issue is present in Strapi 5
Type
Projects
Status
Fixed/Shipped
Status
Done