Default permission should be set to False, not to True
(the previous code was mainly for debugging)
This commit is contained in:
@@ -62,10 +62,8 @@ feature -- Access: user
|
|||||||
do
|
do
|
||||||
if s = Void then
|
if s = Void then
|
||||||
Result := True
|
Result := True
|
||||||
elseif s.has_substring ("admin") or s.has_substring ("users") then
|
|
||||||
Result := False
|
|
||||||
else
|
else
|
||||||
Result := True
|
Result := False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user