Add-on Permissions

  • Thread starter Thread starter ragtek
  • Start date Start date
R

ragtek

Guest
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
 
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)
 
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!]
 
Top Bottom