Jump to:

2580 Posts in 695 Topics by 540 members

Data Model Questions

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

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba

Page: 1
Go to End
Author Topic: 580 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?

    580 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.