Files
opencloud/services
Ralf Haferkamp 9303cdece7 graph: Set roles/actions in sharedByMe response (#7703)
* unifiedrole: Add CS3ResourcePermissionsToLibregraphActions

Add function to convert CS3ResourcePermsissions to libregraph actions

* unifiedrole: Fix strings for the UnifiedRoleConditionSelf

The "Self/Owner/Grantee" string are not part the the constraint value

* graph: Move getRoleDefinitionList to unifiedrole module

rename it to GetBuiltinRoleDefinitionList and make it public

* graph: turn libregraph resource actions into string constants

* graph/sharedbyme: Set the correct roles (or actions) on permissions

Try to map CS3 resource permissions on a share to one of the default libregraph
UnifiedRoleDefinitions. If a match if found return the roleid in 'permissions.roles'
attribute of the response. If no match if found convert the
ResourcePermissions in to `libre.graph.permissions.actions` and return
those in the response.
2023-11-17 15:41:24 +01:00
..
2023-08-21 12:04:54 +02:00
2023-09-21 13:53:18 +02:00
2023-09-21 13:53:18 +02:00
2023-11-09 12:33:15 +01:00
2023-09-21 13:53:18 +02:00
2023-10-06 10:29:08 +02:00
2023-09-21 13:53:18 +02:00
2023-09-21 13:53:18 +02:00
2023-09-21 13:53:18 +02:00
2023-11-14 00:39:22 +00:00
2023-11-09 12:33:15 +01:00
2023-11-17 10:04:55 +01:00
2023-11-15 13:22:51 +01:00
2023-10-11 16:31:10 +02:00
2023-11-16 00:39:05 +00:00
2023-11-16 10:18:12 +01:00