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

Question: Permissions has role_id #13

Open
fnoquiq opened this issue Jun 25, 2020 · 0 comments
Open

Question: Permissions has role_id #13

fnoquiq opened this issue Jun 25, 2020 · 0 comments

Comments

@fnoquiq
Copy link
Contributor

fnoquiq commented Jun 25, 2020

Why in the permissions is there a role_id if it already contains the user_id?
The role_id should be connected to the user, right? A user should only have a relationship for a single role

Permission {
  user_id: 1,
  role_id: 2,
  resource_id: 3,
  create: true,
  update: true,
  read: true,
  delete: true
}
@fnoquiq fnoquiq changed the title Permissions has role_id Question: Permissions has role_id Jun 25, 2020
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