(string $user, array $perms, string $folder)
| 1052 | } |
| 1053 | |
| 1054 | public static function canReadOwn(string $user, array $perms, string $folder): bool |
| 1055 | { |
| 1056 | if (self::canRead($user, $perms, $folder)) { |
| 1057 | return true; |
| 1058 | } |
| 1059 | return self::hasGrant($user, $folder, 'read_own'); |
| 1060 | } |
| 1061 | |
| 1062 | public static function canWrite(string $user, array $perms, string $folder): bool |
| 1063 | { |
no test coverage detected