I'm doing a manager so that I can change my Users/Roles/Permissions via web.
I'm trying to remove a permission....
The problem is that when I call TurbineSecurity.removerPermission(permname)
it only removes the named permission from the TURBINE_PERMISSION table , leaving the
perm in TURBINE_ROLE_PERMISSION table....
What's wrong ?? I couldn't find in TurbineSecurity Fascade a method that does it
right......... Do I have to delete by hand (I mean .....using
TURBINE_ROLE_PERMISSION(peer))???
Diogo
Permission perm = TurbineSecurity.getPermission(data.getParameters().get("realname"));
TurbineSecurity.removePermission(perm);