Commit Graph

12361 Commits

Author SHA1 Message Date
Ralf Haferkamp
d6bcba48eb Add 'ownCloudUserEnabled' attribute to demo users 2023-02-22 11:23:26 +01:00
Martin
3e39e49a73 Update services/idp/README.md 2023-02-22 11:13:25 +01:00
Martin
9c7bc86902 Update services/idp/README.md 2023-02-22 11:13:25 +01:00
Martin
d30d042ec1 Update services/idp/README.md 2023-02-22 11:13:25 +01:00
Ralf Haferkamp
5dd374eb7a Add README for idp service 2023-02-22 11:13:25 +01:00
Viktor Scharf
5a5e950cca [test-only] increase coverage test for creating space (#5616) 2023-02-22 14:54:19 +05:45
Swikriti Tripathi
77e9d4f920 App tests for updating the exoiration date of a space (#5605) 2023-02-22 09:21:57 +05:45
Michael Barz
04afa6d35a Merge pull request #5607 from owncloud/configurable-bundles
load bundles from JSON
2023-02-21 21:58:14 +01:00
Michael Barz
7f6e52c39b load bundles from JSON 2023-02-21 21:25:33 +01:00
Ralf Haferkamp
433622952f Bump libregraph/idm
To get ModifyDN support for renaming users.
2023-02-21 16:52:28 +01:00
Martin
15a57993cd Merge pull request #5619 from owncloud/add_missing_text_in_readme
[docs-only] improve eventhistory service readme
2023-02-21 16:42:51 +01:00
mmattel
d25c600c27 [docs-only] improve eventhistory service readme 2023-02-21 16:37:12 +01:00
kobergj
8ffca8cae4 Automated changelog update [skip ci] 2023-02-21 13:10:45 +00:00
kobergj
e631b74032 Merge pull request #5600 from kobergj/EventHistory
Eventhistory Service
2023-02-21 14:08:01 +01:00
Ralf Haferkamp
1dab0f7a54 graph: Improve appRoleAssignemts filters
This should improve the processing of filters for appRoleAssignments
a bit when combining them with other filters. We try to avoid reading
the full user list if possible. And delay the processing of an
appRoleAssignments filter so we can apply it on a subset of user.

E.g. a filter:

`appRoleAssignments/any(m:m/appRoleId eq 71881883-1768-46bd-a24d-a356a2afdf7f) and memberOf/any(m:m/id eq 509a9dcd-bb37-4f4f-a01a-19dca27d9cfa)`

Will be reordered to first process the memberOf filter (which can be
executed without reading the full user list) and only apply the
appRoleAssignments filter on the resultset of the memberOf filter.
2023-02-21 12:30:59 +01:00
Ralf Haferkamp
1552f6df5a Add support for $filter on appRoleAssignment
This add support for filtering on the `appRoleAssignment` relation of
users.  E.g.

```
$filter=appRoleAssignments/any(m:m/appRoleId eq '262982c1-2362-4afa-bfdf-8cbfef64a06e')
```

combining it with a filter on groupMemberShip does also work:

```
$filter=memberOf/any(m:m/id eq '262982c1-2362-4afa-bfdf-8cbfef64a06e') and appRoleAssignments/any(m:m/appRoleId eq 'd7beeea8-8ff4-406b-8fb6-ab2dd81e6b11')
```

The filter is still very inefficient as it always needs to get the full
users list. We need to adapt it to only filter on a subset of users when
using this filter 'and' combined with other filters.

Closes: #5488
2023-02-21 12:30:59 +01:00
Artur Neumann
db6dc5f8af Merge pull request #5611 from owncloud/remove-scenarios-tagged-skiponocis-master
[full-ci] [tests-only] Remove scenarios tagged skiponocis master
2023-02-21 16:33:49 +05:45
Ralf Haferkamp
791c8a6c4f proxy: Fix provsioning new users with the default role
With 078698fdf4 the semantics of the
ListRoleAssignments Call in the settings service change. It no
no longer returns a "not found" error when there is not RoleAssignment
for a user. We'll just get an empty list as the result.

This changes the behaviour of the default role assignment to work with
the new semantics.
2023-02-21 11:19:44 +01:00
jkoberg
c9dfb778a9 sharpen eventhistory service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-21 10:51:32 +01:00
Prarup Gurung
0076c93dc6 Capabilities related scenarios are added in expected failure 2023-02-21 15:15:45 +05:45
Prarup Gurung
5a46a19f99 Fixed line numbers in expected failure 2023-02-21 15:13:24 +05:45
Prarup Gurung
8b6df0d729 Removed scenarios tagged with @skipOnOcis tag 2023-02-21 15:10:42 +05:45
Phil Davis
7ec0e3c65c Merge pull request #5598 from owncloud/allow-plain-acceptance-test-output
[tests-only] allow plain acceptance test output
2023-02-21 14:09:59 +05:45
Daniël Franke
22f3577b7d Update comment 2023-02-20 14:40:10 +01:00
Daniël Franke
3f39bb530e Integrate feedback. 2023-02-20 14:40:10 +01:00
Daniël Franke
bea3ec6207 Add refint support to user rename.
When refint is enabled on an LDAP server, it will rename all references
to an entity if its DN is modified. If this happens, the member
renames will not be needed, and will also return an error.

This PR does the following:

* Detects the attribute error, and don't return an error.
* Log that the server has been misconfigured.
* Add config value that skips renaming if set.
2023-02-20 14:40:10 +01:00
Michael Barz
b3435edb89 Merge pull request #5597 from wkloucek/settings-roles-merge-fix
fix settings service bunldes config merge problems
2023-02-20 13:42:38 +01:00
Willy Kloucek
d34730d45a generate protobuf 2023-02-20 12:50:38 +01:00
Willy Kloucek
5a500ea17e don't init bundles to nil 2023-02-20 12:50:24 +01:00
jkoberg
5aa1f6eb55 changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-20 12:07:55 +01:00
Phil Davis
213202dc1c Provide PLAIN_OUTPUT option for lint-expected-failures.sh 2023-02-20 15:56:50 +05:45
jkoberg
afe9e220b4 introduce eventhistory service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-20 10:29:04 +01:00
Phil Davis
a062f913ef allow plain acceptance test output 2023-02-20 14:05:04 +05:45
Willy Kloucek
a2422e8b9d fix settings service bunldes config merge problems 2023-02-20 08:10:22 +01:00
Benedikt Kulmann
30faae2ae4 Automated changelog update [skip ci] 2023-02-17 23:51:42 +00:00
Benedikt Kulmann
9d7b3d8b7e Merge pull request #5595 from owncloud/bump-web-v7.0.0-rc.14 2023-02-18 00:46:14 +01:00
Benedikt Kulmann
6239e09563 chore: bump web to v7.0.0-rc.14 2023-02-17 22:26:20 +01:00
Daniel Swärd
82c5e1a63e Automated changelog update [skip ci] 2023-02-17 21:03:13 +00:00
Daniel Swärd
fcf5783a1b graph: Add accountEnabled flag to ldap backend. (#5588)
* graph: Add accountEnabled flag to ldap backend.

* Add missing accountEnabled attribute to user listing.
2023-02-17 13:48:12 +01:00
Michael Barz
359509dcfe Automated changelog update [skip ci] 2023-02-17 12:46:13 +00:00
Michael Barz
794f6cd07c add constraints to permissions listing (#5594) 2023-02-17 13:45:47 +01:00
Viktor Scharf
1730538836 [test-only][full-ci] ApiTest. share space with expiration date (#5562) 2023-02-17 14:03:53 +05:45
Viktor Scharf
3e3d3f9de2 [test-only] ApiTest. get users of members of several groups (#5575)
* get users with group filter

* fix test
2023-02-16 16:34:13 +01:00
Michael Barz
e38dc12e55 Automated changelog update [skip ci] 2023-02-16 15:06:57 +00:00
Michael Barz
eb2347e1db Merge pull request #5589 from owncloud/settings-roles
make the default settings bundles part of the config
2023-02-16 16:05:29 +01:00
David Christofas
e21ca81fbe Merge pull request #5582 from owncloud/bump-reva-events
[full-ci] bump reva to ec27f5f8feb3
2023-02-16 15:22:49 +01:00
Jörn Friedrich Dreyer
ce9c7b2868 fix notification tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-02-16 13:15:57 +00:00
Jörn Friedrich Dreyer
552f3b3058 Update services/settings/Makefile 2023-02-16 13:54:41 +01:00
Jörn Friedrich Dreyer
b85387f707 Update protogen/proto/ocis/messages/settings/v0/settings.proto 2023-02-16 13:41:33 +01:00
Michael Barz
0986a4b501 add changelog 2023-02-16 13:30:07 +01:00