Ozzy47
Well-known member
When creating options for an addon, you can create a setting for usergroups.
Then we can use this in our templates by the following,
I have been told that this is "very bad". Is this true, it is bad to do authorise groups a permission this way?
Then we can use this in our templates by the following,
$xf.visitor.isMemberOf($xf.options.editsilently_groups)
I have been told that this is "very bad". Is this true, it is bad to do authorise groups a permission this way?