Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailor Permissions get grouped by name and not by parent navigation #5804

Open
sqwk opened this issue Jun 23, 2024 · 3 comments
Open

Tailor Permissions get grouped by name and not by parent navigation #5804

sqwk opened this issue Jun 23, 2024 · 3 comments

Comments

@sqwk
Copy link

sqwk commented Jun 23, 2024

I have multiple tailor items named Tag. These are all grouped together in the permissions backend, even though they have different uuid, handle and navigation.parent options set.

name: Tag

navigation:
    label: Tags
    parent: Blog\Article
name: Tag

navigation:
    label: Tags
    parent: Foo\Bar
Screenshot 2024-06-23 at 14 12 31

Shouldn't the permission be grouped by the name of the parent item?

@octobercms octobercms deleted a comment from wenglaurie30 Jul 25, 2024
@octobercms octobercms deleted a comment from wenglaurie30 Jul 25, 2024
@octobercms octobercms deleted a comment from wenglaurie30 Jul 25, 2024
@daftspunk
Copy link
Member

This is an interesting use case.

We may need to add permissionCode to allow multiple blueprints to share a single permission. Would it solve the problem for you?

@sqwk
Copy link
Author

sqwk commented Jul 26, 2024

I don't so much need the blueprints to share a single permission, I just need to be able to identify them. At the moment, one has to give a user the permission, log in as them and check if the one selected is the right one. In the screenshotted example it would be much more obvious if tags are listed under the heading Article and Bar respectively and not both under Tag.

@daftspunk
Copy link
Member

Ok, based on this:

  • add the ability to set a custom code and label for the Tailor permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants