Skip to content

Instantly share code, notes, and snippets.

@bobvanluijt
Created February 6, 2017 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobvanluijt/a95ec247ffd285e9c6e66f118500d698 to your computer and use it in GitHub Desktop.
Save bobvanluijt/a95ec247ffd285e9c6e66f118500d698 to your computer and use it in GitHub Desktop.
Weave - aclEntries
{
"AclEntry": {
"properties": {
"cloudAccessRevoked": {
"description": "Indicates whether the AclEntry has been revoked from the cloud and the user has no cloud access, but they still might have local auth tokens that are valid and can access the device and execute commands locally. See localAccessInfo for local auth details.",
"type": "boolean"
},
"creatorEmail": {
"description": "User who created this entry. At the moment it is populated only when pending == true.",
"type": "string"
},
"delegator": {
"description": "User on behalf of whom the access is granted to the application.",
"type": "string"
},
"id": {
"description": "Unique ACL entry ID.",
"type": "string"
},
"key": {
"description": "Public access key value. Set only when scopeType is PUBLIC.",
"format": "int64",
"type": "string"
},
"kind": {
"default": "weave#aclEntry",
"description": "Identifies what kind of resource this is. Value: the fixed string \"weave#aclEntry\".",
"type": "string"
},
"localAccessInfo": {
"$ref": "#/definitions/LocalAccessInfo",
"description": "Information about local auth tokens timestamps."
},
"pending": {
"description": "Whether this ACL entry is pending for user reply to accept/reject it.",
"type": "boolean"
},
"privileges": {
"description": "Set of access privileges granted for this scope.\n\nValid values are: \n- \"modifyAcl\" \n- \"viewAllEvents\"",
"items": {
"enum": [
"modifyAcl",
"viewAllEvents"
],
"type": "string"
},
"type": "array"
},
"revocationTimeMs": {
"description": "Time in milliseconds since Unix Epoch indicating when the AclEntry was revoked.",
"format": "int64",
"type": "string"
},
"role": {
"description": "Access role granted to this scope.",
"enum": [
"manager",
"owner",
"robot",
"user",
"viewer"
],
"type": "string"
},
"scopeId": {
"description": "Email address if scope type is user or group, domain name if scope type is a domain.",
"type": "string"
},
"scopeMembership": {
"description": "Type of membership the user has in the scope.",
"enum": [
"delegator",
"manager",
"member",
"none"
],
"type": "string"
},
"scopeName": {
"description": "Displayable scope name.",
"type": "string"
},
"scopePhotoUrl": {
"description": "URL of this scope displayable photo.",
"type": "string"
},
"scopeType": {
"description": "Type of the access scope.",
"enum": [
"application",
"domain",
"group",
"public",
"user"
],
"type": "string"
}
},
"type": "object"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment