We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ba5a88 commit fd196fcCopy full SHA for fd196fc
[editor]/editor_main/server/util.lua
@@ -1,7 +1,7 @@
1
function isPlayerAllowedToDoEditorAction(player,action)
2
if isElement(player) and getElementType(player)=="player" and action and type(action)=="string" then
3
-- return hasObjectPermissionTo(player,"resource.editor."..action,false)
4
- return hasObjectPermissionTo(player,"resource.editor."..action)
+ return hasObjectPermissionTo(player,"resource.editor."..action, true)
5
end
6
7
return false
0 commit comments