Allow bypassing perms dialog (console only)
parent
de3ff44406
commit
ce26730d4e
|
@ -3795,6 +3795,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
if (World.GetExtraSetting("auto_grant_attach_perms") == "true")
|
||||
implicitPerms = ScriptBaseClass.PERMISSION_ATTACH;
|
||||
}
|
||||
if (World.GetExtraSetting("auto_grant_all_perms") == "true")
|
||||
{
|
||||
implicitPerms = perm;
|
||||
}
|
||||
}
|
||||
|
||||
if ((perm & (~implicitPerms)) == 0) // Requested only implicit perms
|
||||
|
|
Loading…
Reference in New Issue