Skip to content

"Has same role as creator" permission settings are not applied #330

@manu7823

Description

@manu7823

Problem

Restricting "Read" and "Update" permissions to "Has same role as creator" doesn't work.

Steps to reproduce

  1. Create two roles and two users
  2. Grant only Has same role as creator permissions for the navigation plugin read and update operations

Bildschirmfoto 2023-04-27 um 19 41 04

  1. Assign one user to the first role and the other one to the second role, login with the first user and create a new navigation item

Bildschirmfoto 2023-04-27 um 19 39 13

  1. Logout with the first user, login with the second user and you can still see and edit the created navigation item of the first user with a different role than the currently logged in user.

Bildschirmfoto 2023-04-27 um 19 46 47

Setup

"dependencies": {
"@strapi/plugin-i18n": "~4.10.1",
"@strapi/plugin-users-permissions": "~4.10.1",
"@strapi/strapi": "~4.10.1",
"better-sqlite3": "^8.0.1",
"mysql": "^2.18.1",
"strapi-plugin-navigation": "^2.2.8"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestCommunity feature requestv4Strapi v4

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions