Skip to content

Commit fd196fc

Browse files
authored
editor_main: Fix permissions after #4388 (#677)
edtior_main: Fix permissions after #4388 quick fix for permissions
1 parent 6ba5a88 commit fd196fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

[editor]/editor_main/server/util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function isPlayerAllowedToDoEditorAction(player,action)
22
if isElement(player) and getElementType(player)=="player" and action and type(action)=="string" then
33
-- return hasObjectPermissionTo(player,"resource.editor."..action,false)
4-
return hasObjectPermissionTo(player,"resource.editor."..action)
4+
return hasObjectPermissionTo(player,"resource.editor."..action, true)
55
end
66

77
return false

0 commit comments

Comments
 (0)