Re: A Question about authorize method of IAuthority

2011-01-31 Thread indika kumara
Thanks Stu for the information. I have not still looked deeper at the internals of the Cassandra. I just thought the operations such as insert, system_add_column_family, system_add_keyspace in 'Cassandra.Iface' imply an 'add' operation. I just wanted to pass that action to the 'authrorize' method,

Re: A Question about authorize method of IAuthority

2011-01-31 Thread Stu Hood
Our intention was that if you wanted to add another permission like "update" (a subset of "write") then you would return it from the method as part of the EnumSet for that resource. I would see how much trouble it would be to add a new Permission value for "update". Note that Cassandra itself does

A Question about authorize method of IAuthority

2011-01-31 Thread indika kumara
Hi All, Currently, there are two permissions - read and write, and there is no way to know the current operation being performed such as add, update, etc. If the operation is 'add', as the user is already logged into the system, I would like to authorize the user for the resource going to add. I t