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

[BE] Taxonomy Permissions #236

Open
NuwanJ opened this issue Nov 30, 2024 · 0 comments
Open

[BE] Taxonomy Permissions #236

NuwanJ opened this issue Nov 30, 2024 · 0 comments

Comments

@NuwanJ
Copy link
Member

NuwanJ commented Nov 30, 2024

Create a separate seeder class for Taxonomy permission in database/seeders/Roles/TaxonomyRoleSeeder.php. Use updateOrCreate method for creations.

Role

  • type: User::TYPE_USER
  • name: 'Taxonomy Manager'

Permissions

Add the following permissions for the Taxonomy Manager role:

  • type: User::TYPE_USER
  • name: 'user.taxonomy'
  • description: Taxonomy Permission

Under user.taxonomy,

  • type: User::TYPE_USER

  • name: 'user.taxonomy.editor'

  • description: Taxonomy Editor Permission

  • type: User::TYPE_USER

  • name: 'user.taxonomy.viewer'

  • description: Taxonomy Viewer Permission

Roles

Assign the permission to the below users:

  • Administrator -> 'user.taxonomy'

Assign the Permissions to the route level as well as into the views based on the edit/read permission levels.

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

No branches or pull requests

1 participant