Friday, 9 August 2013

Cassandra: Design Data Model for User, Roles and Permissions

Cassandra: Design Data Model for User, Roles and Permissions

I have a requirement of designing Data Model in cassandra for User, Role,
Organization and permissions.
Each Organization can have Users and Roles Each User can belong to any
number of Roles Each Role can have any number of users and Permissions.
So, based on the above design requirement, following will be my queries:
For an Organization get all Users / Roles
For a User get all Roles
For a Role get all Users / Permissions
Can anybody please help me in designing the data model for the above
requirement.

No comments:

Post a Comment