mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) updates from grist-core
This commit is contained in:
@@ -914,6 +914,11 @@ export class ActiveDoc extends EventEmitter {
|
||||
return this._granularAccess.canCopyEverything(docSession);
|
||||
}
|
||||
|
||||
// Check if user has rights to read everything in this doc.
|
||||
public async canCopyEverything(docSession: OptDocSession) {
|
||||
return this._granularAccess.canCopyEverything(docSession);
|
||||
}
|
||||
|
||||
// Check if it is appropriate for the user to be treated as an owner of
|
||||
// the document for granular access purposes when in "prefork" mode
|
||||
// (meaning a document has been opened with the intent to fork it, but
|
||||
|
||||
Reference in New Issue
Block a user