[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: querying ACLs

Shane wrote:
> Is it possible to "query" what permissions an "entity" has prior to
> them trying to make a change or addition?

Well, you can send an update operation with the noop (No Operation)
control attached.  Then the server will not perform the operation, but
it'll (try to) tell you if you have access to perform it.  Some backends
support it, some don't.

However the result doesn't necesarily tell you if you'd have access to
perform some slightly different operation, so you have to treat the
result as a hint.  It depends on the access controls in the server,
which can be quite complex.