js-bao-wss-client / DocumentPermissionEntry
Interface: DocumentPermissionEntry
A user's direct permission on a document. Returned by documents.getPermissions().
name is absent for a user who has none — a user signed in through the email-code flow, for instance, is provisioned without one — so display code should fall back to email.
Properties
email
email:
string
grantedAt
grantedAt:
string
name?
optionalname?:string
permission
permission:
"owner"|"read-write"|"reader"
userId
userId:
string