You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi:
I am new using OACC. I look like that fit perfect in our use cases but I am not able to see how to get all permission that a resource has over other resource of a specific resource class(without doing it one by one).
For instance, let's say we have users ans documents. We want to know all documents that a user has some permission and which permission are.
I found the following methods:
getEffectiveResourcePermissions and getResourcePermissions which query a single accessed resource
I am looking for a method that given an accessor return all resources for a specific resourceClass with the permission of each one. I think is the same than "getGlobalResourcePermissionsMap" but not for global.
Example:
Given accessor "user1" get all accessed resources of type "document" and permission of each one.
Result expected:
Map<String, Set>
<"document1.pdf",ResourcePermission[read,write]>
<"document.pdf",ResourcePermission[read]>
<"document3.pdf",ResourcePermission[read,write]>
The text was updated successfully, but these errors were encountered:
Hi:
I am new using OACC. I look like that fit perfect in our use cases but I am not able to see how to get all permission that a resource has over other resource of a specific resource class(without doing it one by one).
For instance, let's say we have users ans documents. We want to know all documents that a user has some permission and which permission are.
I found the following methods:
getEffectiveResourcePermissions and getResourcePermissions which query a single accessed resource
I am looking for a method that given an accessor return all resources for a specific resourceClass with the permission of each one. I think is the same than "getGlobalResourcePermissionsMap" but not for global.
Example:
Given accessor "user1" get all accessed resources of type "document" and permission of each one.
Result expected:
Map<String, Set>
<"document1.pdf",ResourcePermission[read,write]>
<"document.pdf",ResourcePermission[read]>
<"document3.pdf",ResourcePermission[read,write]>
The text was updated successfully, but these errors were encountered: