• 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?

Onimua

Well-known member
#1
When I create a permission definition, I have this selected.

xf_permissioncheck.png
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?​
 

Mike

XenForo developer
Staff member
#2
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).