#662 assign priviledges to roles does not work
Closed: Fixed None Opened 13 years ago by admiyo.

create a new role.
from details, go to "Membership in privileges" and enroll a few. The list never updates, nor do they get added.


privileges to permissions has the same problem.

RPC

{"method":"role_add_member","params":[["testrole"],{"all":true,"privilege":"testpriv"}],"id":22}

both testrole and testpriv exist. No change to testrole afterwards. I suspect that the plugin is just not returning the privileges assigned to the role correctly.

If I get this, you are trying to add privilege by role_add_member method - am I right or am I mistaken?

That is correct. The JSON RPC looks pretty similiar to the XML rpcs, with the method name in the "method" parameter. We list this as the first parameter when executed from the Web API

Metadata Update from @admiyo:
- Issue assigned to jzeleny
- Issue set to the milestone: FreeIPA 2.0 - 2011/01 (cleanup)

7 years ago

Login to comment on this ticket.

Metadata