1
frankblack
Permissions driving me insane! [coding]
  • 2010/1/2 15:24

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Maybe I asked this before, but is there a way to get ALL permissions of a module in ONE query, so that I can make a check if a specific permission is set?

Whenever a checkRight is used a query will be used and when I am retrieving categories from the database and I make checkRight for every category a query is used. Wasted resources from my view.

This query could be filtered for gperm_name eg. starting with Debaser% so that other permissions for the module are excluded.

And WHY does gperm_itemid is splitted for each gperm_groupid?

Any help is appreciated!

BTW getObjects aren't getting me somewhere atm.

Login

Who's Online

190 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 190


more...

Donat-O-Meter

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

Latest GitHub Commits