mirror of
https://github.com/docmost/docmost.git
synced 2026-05-21 01:04:39 +08:00
WIP
This commit is contained in:
@@ -75,7 +75,6 @@ export class AuthenticationExtension implements Extension {
|
||||
await this.pagePermissionRepo.getUserPageAccessLevel(user.id, page.id);
|
||||
|
||||
if (hasRestriction) {
|
||||
// Page has restrictions - use page-level permissions
|
||||
if (!canAccess) {
|
||||
this.logger.warn(
|
||||
`User ${user.id} denied page-level access to page: ${pageId}`,
|
||||
|
||||
Reference in New Issue
Block a user