DB Schema of a Role Based Access Control

后端 未结 2 2007
没有蜡笔的小新
没有蜡笔的小新 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'm going to give another example of an RBAC system I really like. please check out the radicore framework by Tony Marston here.

    I'm not sure if it meets all of your requirements but something you can compare your work with can help.

    0 讨论(0)
  • 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?

    0 讨论(0)
提交回复
热议问题