Skip to content
This repository was archived by the owner on Jan 8, 2026. It is now read-only.

Conversation

@shraddheya
Copy link
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants