Jump to:

3430 Posts in 1057 Topics by 734 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: 834 Views
  • Motoma
    Avatar
    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?

    834 Views
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.