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

Roles and Permissions for Gramex SAAS #728

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Roles and Permissions for Gramex SAAS #728

wants to merge 6 commits into from

Conversation

shraddheya
Copy link
Collaborator

ADD Roles and permissions model to be used in SAAS.

Adds a new database in storelocations by the name of roles.db with tables

  • roles: roles and users mapping
  • permissions: permissions and roles mapping
  • user_permissions: mapping for extra permissions that can be assigned to some user

This module adds two new fields in attrdict of handler.current_user and session['user'] name:

  • roles
  • permissions

@sanand0
Copy link
Contributor

sanand0 commented Jun 2, 2023

Looks mostly good, @shraddheya. Let's discuss and test it out over a call? Thanks!

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

Successfully merging this pull request may close these issues.

2 participants