• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Add-on Permissions

R

ragtek

Guest
#1
What's the difference between the permission groups and interface groups?

I tried different things in the past which are working, but i'm still not sure what is what, because a permission have a perm group and a interface group option...

For example, if i would need this points:

gallery
  • canUseGalrery
  • canUpload
  • canRequestCategories
  • canCreateCategories
so do i need perm or interface groups?:D
 

Shadab

Well-known member
#2
Permission group => Grouping at code level.
Interface group => Grouping at the UI/UX level. (how they are shown to the end-user)

So while the "Forum Permissions" permission group contains 22 permissions,
they are logically separated into 2 interface groups:

» "Forum Permissions" (set of 10 general permissions)
» "Forum Moderator Permissions" (set of 12 moderation permissions)
 

Mike

XenForo developer
Staff member
#3
A permission group is how you refer to it in the code, an interface group is how it displays in the ACP. The distinction is mostly important as there are a few areas where you can only use one permission group; the interface group lets you split that up as necessary. An example here would be forum permissions, but they're split (in the UI) to forum permissions and forum moderator permissions.

[Edit: too slow!]