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

Default permissions not being applied in add-on?

Discussion in 'XenForo Development Discussions' started by Onimua, Feb 23, 2011.

  1. Onimua

    Onimua Well-Known Member

    When I create a permission definition, I have this selected.

    However, when I submit the form, the default permission that the user groups get is Not Set (No), and when the add-on is installed, the default option is Not Set (No) even though in the database it seems to indicate that allow should be default. Is there something else I'm missing here?​
  2. Mike

    Mike XenForo Developer Staff Member

    The default value is what someone will see when they go to create a new user group - it doesn't apply when the permission is created. In that situation, you need to determine what situations it should be enabled for by running queries to set the permission based on other permission(s).
  3. Onimua

    Onimua Well-Known Member

    Ah, alright then. Thanks for the heads-up on it. :)

Share This Page