mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
Allow bypassing perms dialog (console only)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user