Closed (fixed)
Project:
Session Limit
Version:
6.x-2.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2010 at 14:56 UTC
Updated:
20 Apr 2010 at 15:40 UTC
What happens if I have a user set to allow 10 sessions, in a role which allows 20 sessions? or vice versa? Which will take priority?
Comments
Comment #1
deekayen commentedThe answer is 20, not because one takes priority over the other, but because one doesn't take away the permissions of another.
It's a generous permissions grant, much like you can be a member of two different roles and it only takes one of the two roles you're a member of to have a permission granted for the user to have access to it.
If you want the user to have a max of 10 sessions, then their role needs to have that limit, then individual users would have an exception of 20 or you can create another role that has 20 as the limit and assign two roles to people you want to have 20 instead of 10.