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

Add-on Permissions

Discussion in 'XenForo Development Discussions' started by ragtek, Jan 24, 2011.

  1. ragtek

    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
     
  2. Shadab

    Shadab Well-Known Member

    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)
     
    ragtek likes this.
  3. Mike

    Mike XenForo Developer Staff Member

    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!]
     
    ragtek and Shadab like this.

Share This Page