Browse Source

add comment

mizozobu 6 years ago
parent
commit
679a38db30
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/server/service/acl.js

+ 2 - 0
src/server/service/acl.js

@@ -29,6 +29,8 @@ class AclService {
 
     const guestMode = this.configManager.getConfig('crowi', 'security:restrictGuestMode');
 
+    // 'Readonly' => returns true (allow access to guests)
+    // 'Deny', null, undefined, '', ... everything else => returns false (requires login)
     return guestMode === this.labels.SECURITY_RESTRICT_GUEST_MODE_READONLY;
   }