* Check if the document was authenticated with owner-level access. * * Owner access grants all permissions regardless of permission flags. * Returns true for unencrypted documents. * * @returns true if owner access is available
()
| 868 | * @returns true if owner access is available |
| 869 | */ |
| 870 | hasOwnerAccess(): boolean { |
| 871 | if (!this.isEncrypted) { |
| 872 | return true; |
| 873 | } |
| 874 | |
| 875 | const handler = this.ctx.info.securityHandler; |
| 876 | |
| 877 | return handler?.hasOwnerAccess ?? false; |
| 878 | } |
| 879 | |
| 880 | /** |
| 881 | * Attempt to authenticate with a password. |
no outgoing calls
no test coverage detected