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

Actually use Permissions.php functions #125

Open
3 tasks
killua-eu opened this issue May 15, 2019 · 0 comments
Open
3 tasks

Actually use Permissions.php functions #125

killua-eu opened this issue May 15, 2019 · 0 comments

Comments

@killua-eu
Copy link
Collaborator

We have the beautiful https://github.com/vaizard/glued/blob/master/glued/Classes/Permissions/Permissions.php but hardly any code using them (we have this ugly hack testing if user is root instead to have some division). Lets

  • actually define permissions for roots, users etc. in the permissions table
  • add the sane rules you'd expect glued to have out of the box (i.e. root can do anything) written in migrations
  • expand the scope of privileges (table, all objects, object) to include interface parts. i.e. we want to show a menu item only to roots or users with another specific privilege.
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