Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Data Model Questions /

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

Checking if a Group has a Permission Code


Go to End


1154 Views

Avatar
Motoma

Community Member, 7 Posts

19 February 2010 at 7:31am

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?