Commit Graph

704 Commits

Author SHA1 Message Date
ownClouders
91969e6434 [tx] updated from transifex 2024-09-06 00:05:29 +00:00
Jörn Friedrich Dreyer
5ab53b2474 bump reva to 9878984ce702
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-09-05 15:03:05 +02:00
ownClouders
91124c847a [tx] updated from transifex 2024-09-05 03:49:55 +00:00
Martin
2f909f9d82 Merge pull request #9975 from owncloud/translation_desc_update
[docs-only] Update translation docs + transifex configuration (add resource_name)
2024-09-04 13:32:59 +02:00
Michael Barz
693a311fd7 Merge pull request #9943 from 2403905/issue-9701
[full-ci] Added a new roles viewer/editor with ListGrants
2024-09-04 13:16:29 +02:00
ownClouders
6f4c6702e5 [tx] updated from transifex 2024-09-04 00:39:05 +00:00
Martin Mattel
5e2c1374ce [docs-only] Update translation docs 2024-09-03 14:56:18 +02:00
Martin Mattel
79aac868cf [docs-only] Description + CLI for Unified Roles Management 2024-09-03 11:03:39 +02:00
Roman Perekhod
d3e8eb34df [full-ci] Added a new roles viewer/editor with ListGrants 2024-09-02 11:33:18 +02:00
ownClouders
61a3a51bd4 [tx] updated from transifex 2024-09-02 00:06:17 +00:00
ownClouders
dd572bb145 [tx] updated from transifex 2024-09-01 00:06:33 +00:00
ownClouders
cd650a39b0 [tx] updated from transifex 2024-08-31 00:05:00 +00:00
Jörn Friedrich Dreyer
e3a2bd60ae Merge pull request #9881 from 2403905/issue-9699
Added a new role space editor without versions
2024-08-30 14:08:51 +02:00
ownClouders
483924a583 [tx] updated from transifex 2024-08-30 00:06:38 +00:00
Roman Perekhod
6319d986eb [full-ci] Added a new role space editor without versions 2024-08-29 14:20:35 +02:00
ownClouders
d64e190858 [tx] updated from transifex 2024-08-28 00:06:25 +00:00
Florian Schade
4b09399ab9 chore: merge master 2024-08-27 18:22:13 +02:00
Florian Schade
2f9c6c86ea Merge branch 'master' into toggle-unified-roles 2024-08-27 17:43:05 +02:00
Jörn Friedrich Dreyer
6dc6fdacf4 list ocm shares in sharedByMe
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-27 12:39:37 +02:00
Jörn Friedrich Dreyer
e933299c8d all actions must be part of the role
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-26 17:18:38 +02:00
Jörn Friedrich Dreyer
18037f530e fix listing ocm properties
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-26 16:42:59 +02:00
Jörn Friedrich Dreyer
84e87cd722 set the configured protocol transport for service metadata
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-23 20:51:17 +02:00
Jörn Friedrich Dreyer
9177684ad4 Merge pull request #9905 from owncloud/list-ocm-permissions
List OCM permissions as graph drive item permissions
2024-08-23 14:41:40 +02:00
Florian Schade
803a0a5c38 fix: l10n make path, validation context key type and available role env 2024-08-23 14:24:19 +02:00
Jörn Friedrich Dreyer
6d465575f4 List OCM permissions as graph drive item permissions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-23 11:36:45 +02:00
jkoberg
d335d635b3 feat(graph): add TRANSLATION_PATH envvar
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-08-23 11:08:29 +02:00
Florian Schade
43ba95190f enhancement: show permission actions if no role is set when converting space permissions to libregraph permissions 2024-08-21 16:50:34 +02:00
Florian Schade
4f2678351d fix: cherry pick unified-role federation changes 2024-08-21 14:10:46 +02:00
Florian Schade
9b0c8eb14b enhancement: add role condition and allowed resource actions to the role-list cli 2024-08-21 14:09:53 +02:00
Florian Schade
e348ac290e enhancement: only use allowed roles for the graph service 2024-08-21 14:08:39 +02:00
Florian Schade
196c988b8c enhancement: add unified roles filters 2024-08-21 14:08:38 +02:00
Florian Schade
4638280d21 enhancement: add allowed role validation to the go-playground validator 2024-08-21 14:08:29 +02:00
Florian Schade
56537e94fc enhancement: do not enable all roles by default.
from now on, not all unified roles are enabled by default, instead the available roles are hand-picked in the default setup.

For advanced use-cases, the administrator is capable to enable the desired set of available roles.

Picking roles is not easy since the uid is NOT humanly readable, therefore a cli is contained which lists the available, disabled and enabled roles.
2024-08-21 14:08:27 +02:00
Jörn Friedrich Dreyer
e2c652986f Merge pull request #9867 from rhafer/issue/9858
fix(graph): treat memberOf and userType as read-only attributes
2024-08-21 12:37:48 +02:00
ownClouders
50d33b7013 [tx] updated from transifex 2024-08-21 05:53:17 +00:00
Ralf Haferkamp
8476da2f7b fix(graph): treat memberOf and userType as read-only attributes
Fixes: #9858
2024-08-20 17:58:20 +02:00
ownClouders
d83a77a9ba [tx] updated from transifex 2024-08-20 10:15:55 +00:00
Jörn Friedrich Dreyer
a3c7bd3182 bump libre graph api
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-19 14:20:20 +02:00
Ralf Haferkamp
cfefec96b6 graph: add identities property to non-admin response of GetUsers
Fixes: #9813
2024-08-15 10:49:13 +02:00
Viktor Scharf
c33c180dbd Merge pull request #9788 from rhafer/filter-usertype
feat(graph): add support for filtering users by type
2024-08-14 10:11:25 +02:00
ownClouders
fe71854467 [tx] updated from transifex 2024-08-14 04:06:18 +00:00
Jörn Friedrich Dreyer
ad62bb1817 Merge pull request #9765 from owncloud/federated-user-roles
allow querying federated sharing roles
2024-08-13 16:49:48 +02:00
Jörn Friedrich Dreyer
99c6b6648e no need to introduce dedicated roles
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-13 16:10:19 +02:00
Ralf Haferkamp
99df9bd3bb graph: allow regular users to filter users by userType 2024-08-13 14:40:12 +02:00
Ralf Haferkamp
23ba6e4755 feat(graph): add support for filtering users by type
This add support for equality filters on the `userType` property of users
for the /users endpoint.

It also changes the behavior of the /users endpoint to only return
federated users when explicitly request via a `userType` filter.

E.g. to search for federated users with matching "albert" you can use:

`$filter=userType eq 'Federated'&$search="albert"`

Related Issue: #9702
2024-08-13 14:16:16 +02:00
Ralf Haferkamp
80631bd941 graph: remove some code duplication 2024-08-13 14:16:16 +02:00
Ralf Haferkamp
5355b449c1 cleanup(graph): move ocm user search to separate function 2024-08-13 14:16:16 +02:00
Jörn Friedrich Dreyer
8da4e265bd Update services/graph/pkg/unifiedrole/unifiedrole.go
Co-authored-by: kobergj <jkoberg@owncloud.com>
2024-08-13 11:53:10 +02:00
Jörn Friedrich Dreyer
f960ae4d64 add OCIS_ENABLE_OCM env var
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-12 13:48:23 +02:00
Ralf Haferkamp
5ef865a402 graph: Add some test coverage for ocm enabled users endpoint 2024-08-12 12:16:16 +02:00