1
pr0ne
inside the permission system
  • 2005/11/6 17:45

  • pr0ne

  • Just popping in

  • Posts: 4

  • Since: 2005/11/6


first of all ... the search function and faq had no answer to this one ...

Question:
Assuming a user is member of more than one group (ex.: Registered User *AND* Webmasters) ...
and I grant permission to Module A in "Webmasters" and block permission to Module A in "Registered Users"

what are the resulting permissions ?
Will "permission vectors" for groups just be OR'ed resulting in precedence of "grant permissions" ?

like this ? :
grant accessdeny access

Webmasters
XXXXXXXXXX0XX0X
Reg
Users00000X0000X0X0X
----------------------------- OR-Operation
Result    
XXXXXXXXXXXXX0X



P.S.: Where do you guys hide the documentation ^^ ?

2
tripmon
Re: inside the permission system
  • 2005/11/7 20:33

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


Multiple groups will result in the highest level of permissions available being granted.

That being said, you may wish to create a limited admin group which grants rights to a specific module's admin section, etc. and remove additional webmasters, as they will doubtless have more access under the default permissions than you may wish to grant.

Don't know where the docs are hiding either...

Login

Who's Online

259 user(s) are online (196 user(s) are browsing Support Forums)


Members: 0


Guests: 259


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits