Hi *,
I would like to know your opinion about using Cassandra to implement a
RBAC-like authentication authorization model. We have simplified the
central relationship of the general model (
http://en.wikipedia.org/wiki/Role-based_access_control) to:
user ---n:m--- role ---n:m--- resource
user ---n:m--- role ---n:m--- resource
I'm not sure what this means.
While some inconsistencies may be acceptable, resource ownership (i.e.
role=owner) must never ever be mixed up.
If you are working at a high enough Consistent Level there Cassandra will
provide consistent behaviour.
user ---n:m--- role ---n:m--- resource
It can work, but Cassandra is not RDBMS as you know, so RDBMS-ish data
modeling may not fit in production. (depends on your requirement on
performance. I'm not sure.)
In general you should better to desgin schema from your access pattern.
maki
2012/3/20