exam user detail

This commit is contained in:
xiaomlove
2025-02-25 02:05:49 +08:00
parent 7b3e74b47e
commit ac5f733edb
8 changed files with 74 additions and 25 deletions

View File

@@ -10,4 +10,9 @@ class Permission
{
return user_can(PermissionEnum::UPLOAD_TO_SPECIAL_SECTION->value);
}
public static function canBeAnonymous(): bool
{
return user_can(PermissionEnum::BE_ANONYMOUS->value);
}
}