On 06/08/2011 04:27 PM, Devan Goodwin wrote:
- Create a role with POST /roles (json blob containing not much more
than a name) Calls UserServiceAdapter.createRole which returns a role
with a unique ID.
Hi,
got a question. Looking at the ruby client there are some permissions
stored with the role entity:
# TODO: drop perms here too?
def create_role(name, perms=nil)
perms ||= []
role = {
:name => name,
:permissions => perms,
}
post("/roles", role)
end
What are these used for?
Thanks
--
Later,
Lukas "lzap" Zapletal