-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1: update permission services docstrings #32
Conversation
// with an optional set of precondition relationships that must exist before | ||
// the operation can commit. | ||
// WriteRelationships atomically writes and/or deletes a set of specified | ||
// relationships with an optional set of precondition relationships that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a comma before with
// the operation can commit. | ||
// WriteRelationships atomically writes and/or deletes a set of specified | ||
// relationships with an optional set of precondition relationships that | ||
// must be satisfied before the operation can commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for the operation to commit
// DeleteRelationships deletes relationships matching one or more filters, in | ||
// bulk. | ||
// DeleteRelationships atomically bulk deletes relationships matching one or | ||
// more filters with an optional set of preconditions that must be satisfied |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comma before with
@@ -43,8 +44,8 @@ service PermissionsService { | |||
}; | |||
} | |||
|
|||
// CheckPermission checks whether a subject has a particular permission or is | |||
// a member of a particular relation, on a given resource. | |||
// CheckPermission determines for a given reason whether a subject computes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
given resource
// CheckPermission checks whether a subject has a particular permission or is | ||
// a member of a particular relation, on a given resource. | ||
// CheckPermission determines for a given reason whether a subject computes | ||
// to having permission or is a direct member of a particular relation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
having a permission
This clarifies the atomicity of WriteRelationships and runs the other comments through a grammar check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This clarifies the atomicity of WriteRelationships and runs the other comments through a grammar check.