gramex icon indicating copy to clipboard operation
gramex copied to clipboard

Roles and Permissions for Gramex SAAS

Open shraddheya opened this issue 2 years ago • 1 comments

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

shraddheya avatar Jun 01 '23 12:06 shraddheya

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

sanand0 avatar Jun 02 '23 03:06 sanand0