- not-logged-in user has rights RIGHT_1 and RIGHT_3
ok .. so why dont you just make RIGHT_1 and RIGHT_3 constants or elements in an array that you can configure to be null. That is what I do.
Thanks, that works for me at the moment.
Anyway, it would be fine to have a group for logged-out users since setting the constants to 0 and assigning rights to a group are done in two different processes and unique identifiers aren't still unique. When I simply want to move a null-right I have to change the constants in the code instead of easily reassign to another group.
And it assumes that all other logged-in users have these rights, too. E.g. what about right REGISTRATION_PROCESS_VIEW for logged-in users when I want to hide it from them?
Kind regards,
Hinnerk