Jump to:

3460 Posts in 1064 Topics by 739 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Checking if a Group has a Permission Code

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 845 Views
  • Motoma
    Community Member
    7 Posts

    Checking if a Group has a Permission Code Link to this post

    I am looking for a way to determine if a group has a particular permission code. Something I could use like this:

    Permission::CheckGroupPermission($group, 'CMS_ACCESS_ReportAdmin');

    Does something like this exists? What would be the easiest way to implement this functionality?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.