Commit Graph

281 Commits

Author SHA1 Message Date
Vincent Petry
35dc3aeaba Automated changelog update [skip ci] 2020-09-02 09:46:47 +00:00
Vincent Petry
bc0ac44a01 Merge pull request #69 from owncloud/use-role-ids-from-context
Use roleIDs from context instead of loading them again
2020-09-02 11:30:13 +02:00
Benedikt Kulmann
c2f1038fe3 Fix drone step dependencies 2020-09-02 08:50:40 +02:00
Benedikt Kulmann
2c5d4535cd Switch drone over to another ocis commit 2020-09-02 08:41:34 +02:00
Benedikt Kulmann
391832e2fd Make linter happy 2020-09-01 20:37:11 +02:00
Benedikt Kulmann
9d5fe2bb06 Fix grpc tests to set roleIDs on metadata context 2020-09-01 20:28:48 +02:00
Benedikt Kulmann
45ec870948 Add changelog 2020-09-01 11:26:45 +02:00
Benedikt Kulmann
ec89de9130 Use roleIDs from context instead of loading them again
The roleIDs are coming in as json string from the metadata context and can be extracted
using a helper function from the roles middleware. Instead of re-loading
those roleIDs again on every permission related request, we now just use
the roleIDs from the context. This is also more future-proof for when we
decide to move away the role assignments from the settings service into
the accounts service.
2020-09-01 11:22:14 +02:00
Artur Neumann
e7838cc8c5 Merge pull request #40 from owncloud/ui-tests
Add ui tests infrastructure and tests for language setting
2020-08-31 12:42:21 +05:45
Dipak Acharya
6512403a2f Add ui tests infrastructure and tests for language setting 2020-08-31 10:22:30 +05:45
Jörn Friedrich Dreyer
0cc0f5bf26 Merge pull request #67 from owncloud/settings-mock
[tests only] Mocks for handlers
2020-08-28 15:04:13 +02:00
Benedikt Kulmann
2e70acbb9b Merge branch 'master' into settings-mock 2020-08-28 11:57:41 +02:00
Benedikt Kulmann
bd4073859b Fix import sorting 2020-08-28 11:46:17 +02:00
Benedikt Kulmann
92cf455831 Mocks for handlers 2020-08-28 11:34:27 +02:00
Benedikt Kulmann
47af10a0e8 Automated changelog update [skip ci] 2020-08-28 09:10:56 +00:00
Benedikt Kulmann
0df75127a1 Merge pull request #66 from owncloud/fix-fetching-value-by-identifier
Fix fetching value by identifier and system scope values
2020-08-28 11:01:41 +02:00
Benedikt Kulmann
b28f86fb40 Add changelog items 2020-08-28 10:26:40 +02:00
Benedikt Kulmann
b92bc53c0c Fix loading and saving values for global settings 2020-08-28 10:21:18 +02:00
Benedikt Kulmann
07d435268f Introduce input validation for ValueService.GetValueByUniqueIdentifiers 2020-08-28 10:19:28 +02:00
Benedikt Kulmann
8caf098e65 Automated changelog update [skip ci] 2020-08-27 19:35:34 +00:00
Benedikt Kulmann
ad983f1e85 Merge pull request #59 from owncloud/permission-endpoints
Add permission endpoint for extracting one permission from a set of roleIDs
2020-08-27 21:26:08 +02:00
Benedikt Kulmann
4d98741316 Add changelog 2020-08-27 20:12:30 +02:00
Benedikt Kulmann
ec373dd16f Make the linter so happy! 2020-08-27 15:56:21 +02:00
Benedikt Kulmann
e7c69cd6a7 Make linter happier 2020-08-27 15:52:55 +02:00
Benedikt Kulmann
0f9e141699 Add filtering by bundleID to listing roles and bundles 2020-08-27 15:42:19 +02:00
Benedikt Kulmann
31cb0c951a Register permission service in GRPC and HTTP server 2020-08-27 15:41:00 +02:00
Benedikt Kulmann
5d89f7db8a Add permission endpoint for extracting one permission from a set of roleIds 2020-08-27 15:41:00 +02:00
Vincent Petry
2ae00e877a Automated changelog update [skip ci] 2020-08-27 08:19:49 +00:00
Vincent Petry
9f01a6541d Merge pull request #65 from owncloud/release-0.3.1
Prepare release 0.3.1
2020-08-27 10:09:27 +02:00
Benedikt Kulmann
00b268d51c Prepare release 0.3.1 2020-08-27 09:44:31 +02:00
Benedikt Kulmann
098029eec7 Merge pull request #64 from owncloud/streamlineCI
[tests-only] don't run vet & lint twice
2020-08-27 08:52:00 +02:00
Artur Neumann
5f6f944980 don't run vet & lint twice 2020-08-27 12:22:52 +05:45
Artur Neumann
09adbb3085 Merge pull request #63 from owncloud/refactorGRPCTests
[tests-only] Refactor grpc tests
2020-08-27 12:20:06 +05:45
Artur Neumann
6d164a498f Merge pull request #62 from owncloud/TestSetPermissionsOnSettingAndBundle
[tests-only] test set permission on bundle & setting at the same time
2020-08-27 12:19:31 +05:45
Artur Neumann
b587a0c512 refactor tests 2020-08-27 11:08:16 +05:45
Artur Neumann
3b9040aaf7 test set permission on bundle & setting at the same time 2020-08-27 10:25:41 +05:45
Benedikt Kulmann
f50afba168 Automated changelog update [skip ci] 2020-08-26 20:29:09 +00:00
Benedikt Kulmann
4034a7c3b0 Merge pull request #61 from owncloud/fix-js-client
Fix js client
2020-08-26 22:09:44 +02:00
Benedikt Kulmann
3a62562ecc ADd changelog 2020-08-26 18:05:57 +02:00
Benedikt Kulmann
27980cc513 Fix fetching bundles in settings UI 2020-08-26 18:02:22 +02:00
Benedikt Kulmann
96a163af9d Automated changelog update [skip ci] 2020-08-26 14:40:14 +00:00
Benedikt Kulmann
744bde7a3e Merge pull request #60 from owncloud/release-0.3.0
Prepare release 0.3.0
2020-08-26 16:30:14 +02:00
Benedikt Kulmann
7f73501ada Add changelog for filtering settings 2020-08-26 16:17:56 +02:00
Benedikt Kulmann
b131ce9ed8 Merge pull request #48 from owncloud/filter-settings-by-permissions
Filter settings by permissions
2020-08-26 15:23:31 +02:00
Artur Neumann
34b87f6de2 test List/Get Bundles with per setting permissions 2020-08-26 12:36:32 +05:45
Artur Neumann
11a8048fcb test list bundle with not-matching roles 2020-08-26 11:58:54 +05:45
Artur Neumann
459b5f5db1 adjust list bundles test expectations 2020-08-26 11:36:41 +05:45
Benedikt Kulmann
a0a423fa78 Fix test by using metadata context 2020-08-26 07:48:22 +02:00
Artur Neumann
442cae6cb9 get bundle with insuficiant permissions tests 2020-08-26 11:21:53 +05:45
Artur Neumann
4d3a0f1adb test list filtered bundles 2020-08-26 11:15:27 +05:45