DB Schema of a Role Based Access Control

后端 未结 2 2008
没有蜡笔的小新
没有蜡笔的小新 2020-12-24 08:03

I\'m currently developing a member administration for a local association here and I\'m developing the database schema at the moment. I\'d like to share it with you to impro

2条回答
  •  一整个雨季
    2020-12-24 08:26

    I don't seem to be seeing much of the RBAC mappings, such as:

    Operation  = Any action, such as CRUD operations
    Object     = Reference to any object instance
    
    Permission = Mapping of 'Operation' + 'Object'
    

    I'm not sure what all your "credential" tables are? A credential normally holds properties to prove one's identity (ie: username/password). Why do you have credentials for roles?

提交回复
热议问题