Commit Graph

15304 Commits

Author SHA1 Message Date
Willy Kloucek
45c59accd4 Merge pull request #5103 from rhafer/issue/5085
Fix config and sample groups for LDAP deployment example
2022-11-23 13:34:53 +01:00
Ralf Haferkamp
ee54a4c30c Update/align a few TLS variable description
Fixes: 5073
2022-11-23 13:07:29 +01:00
Sawjan Gurung
f77def1e75 [tests-only][full-ci] Add API tests for deleting groups (graph API) (#5076)
* add API tests for deleting groups

* add tests to expected failure

* fix php style

* update expected failure list

extend test

* merge scenarios

* bump core commit id

extend tests

descrive scenario

* use when step

* fix

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2022-11-23 12:35:37 +01:00
Ralf Haferkamp
006738b23d Fix config and sample groups for LDAP deployment example
The setup was configured to use a mix of the 'groupOfNames' and
'groupOfUniqueNames' objectclasses/attributetypes for groups. This
aligns the configuration and sample data to use just'groupOfNames'.

Closes: #5085
2022-11-23 12:30:02 +01:00
Swikriti Tripathi
1108da1750 Add api tests for changing role of a space (#5088) 2022-11-23 11:40:20 +01:00
Prarup Gurung
dc49b65594 Share test expanded for permission 0, internal (#5100) 2022-11-23 11:38:24 +01:00
Sawjan Gurung
c72c5f897a [tests-only][full-ci] Add API tests for adding user to group (graph API) (#5093)
* add tests for adding users to a group

* extend tests

* fix php code style

* check new member in the group

* fix php code style

* cleanup
2022-11-23 11:33:04 +01:00
Artur Neumann
0d6a993319 Merge pull request #5080 from owncloud/assignRoleToUser
[test-only] Api-test. assign role to user
2022-11-23 09:58:59 +05:45
Artur Neumann
40aaef133d Merge pull request #5096 from owncloud/update-issue-1267-in-expected-failures
[tests-only] [full-ci] Update issue 1267 in expected-failures-API-on-OCIS-storage
2022-11-23 08:18:06 +05:45
Phil Davis
535146c128 Update issue 1267 in expected-failures-API-on-OCIS-storage 2022-11-23 06:11:15 +05:45
Viktor Scharf
34e4f0f1dc assign role to user 2022-11-22 22:52:05 +01:00
Michael Barz
aeed2c277d Automated changelog update [skip ci] 2022-11-21 13:51:00 +00:00
Michael Barz
f3667b1e24 Merge pull request #5077 from wkloucek/lower-default-idp-lifespans
lower default access / id / refresh token lifespans
2022-11-21 14:50:25 +01:00
Benedikt Kulmann
7da519aa12 Automated changelog update [skip ci] 2022-11-21 13:01:16 +00:00
Benedikt Kulmann
50fe2a48ab Merge pull request #5086 from owncloud/bump-web-6.0.0-rc.7
[full-ci] chore: update web to v6.0.0-rc.7
2022-11-21 13:59:28 +01:00
Willy Kloucek
018cc5b9f5 Update changelog
Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
2022-11-21 13:25:53 +01:00
Michael Barz
180695ffd3 Automated changelog update [skip ci] 2022-11-21 11:12:16 +00:00
Michael Barz
e2c7b3f7f8 Merge pull request #5065 from rhafer/issue/5045
Allow initial self-assignemnt of UserRole
2022-11-21 12:11:34 +01:00
Michael Barz
ce54ae592f Automated changelog update [skip ci] 2022-11-21 10:56:17 +00:00
Michael Barz
7e1247f157 Merge pull request #5087 from wkloucek/cache-store-settings
adjust cache related configuration options
2022-11-21 11:55:30 +01:00
Dominik Schmidt
59c19b825a web: embed all files from assets folder.
Recent web assets include an underscore prefixed file that is not packaged without all:.
2022-11-21 11:37:10 +01:00
Willy Kloucek
5d91dea414 adjust cache related configuration options 2022-11-21 09:56:22 +01:00
Willy Kloucek
9f0fa2dbaf add changelog 2022-11-21 09:41:13 +01:00
Benedikt Kulmann
2e2420765d tests: switch web CI to stable-6.0 branch 2022-11-21 09:37:09 +01:00
Benedikt Kulmann
a32be07844 chore: update web to v6.0.0-rc.7 2022-11-21 09:19:16 +01:00
Willy Kloucek
45de2c6645 lower default access / id / refresh token lifespans 2022-11-18 15:02:02 +01:00
Michael Barz
1329daffc7 Merge pull request #5041 from owncloud/graph-unit-test
[tests-only] add more unit tests for the drives operations
2022-11-18 12:46:42 +01:00
Phil Davis
9504cea944 Merge pull request #5075 from owncloud/bump-core-commit-id-2022-11-18
[tests-only][full-ci]Bump core latest commit-id
2022-11-18 10:13:31 +05:45
sagargurung1001@gmail.com
792dc493c6 Bump core latest commit-id 2022-11-18 09:25:47 +05:45
Michael Barz
d1ff976aad improve the code style 2022-11-17 16:27:13 +01:00
Michael Barz
45644912b0 Merge pull request #4991 from owncloud/upload-processing-docs
[docs-only] Upload processing docs
2022-11-17 00:01:41 +01:00
Willy Kloucek
693857e6b3 improve debugability of deployment examples 2022-11-16 16:56:59 +01:00
dependabot[bot]
2e7345d71e Bump github.com/go-micro/plugins/v4/server/grpc from 1.1.1 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/server/grpc](https://github.com/go-micro/plugins) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v4/server/grpc/v1.1.1...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/server/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 16:36:12 +01:00
Ralf Haferkamp
07a78287a7 Allow initial self-assignemnt of UserRole
When using an external user management we need to allow users to self-assign
the default role. This adds an explicit check for that to the settings service.
This also means we no longer need to fiddle with the account id in the proxy
upon first login.

Fixes: #5045
2022-11-16 16:23:32 +01:00
Michael Barz
94c212e331 use interface from graph pkg 2022-11-16 16:19:53 +01:00
dependabot[bot]
8d9335cbd6 Bump github.com/go-micro/plugins/v4/registry/consul from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/registry/consul](https://github.com/go-micro/plugins) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.1.0...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/registry/consul
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 16:03:56 +01:00
Michael Barz
836e955592 exclude mocks and protogen from coverage reports 2022-11-16 15:19:22 +01:00
Michael Barz
fd562b36b5 refactor permissions service to make creating drives testable 2022-11-16 15:19:22 +01:00
Michael Barz
d9fa7455b6 add more unit tests for the drives operations 2022-11-16 15:19:22 +01:00
Andre Duffeck
2ee2f7181c Automated changelog update [skip ci] 2022-11-15 15:53:36 +00:00
Andre Duffeck
60b979d1d4 Find spaces (#5044)
* Use the node name for the name field in the index instead of the path

* Add changelog

* Fix tests

* Adapt expected failures
2022-11-15 16:52:55 +01:00
Jörn Friedrich Dreyer
7443a9a225 Make permission and role ids unique (#5051)
* make permission ids unique

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* deduplicate roleids after listing permissions

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-15 16:51:49 +01:00
Ralf Haferkamp
4971330477 Remove no longer needed bootstrap code (#5057)
This we moved the settings service to the metadata storage with its
own gateway and permissions service, we no longer need the hardcoded
initial replies in order to bootstrap the role assignments.

This fixes a panic in the settings service when the first request to
the service is a read request on anything else but an existing role or
assignment.
2022-11-15 16:51:10 +01:00
Sawjan Gurung
6b13cea633 [tests-only][full-ci] Add API tests for getting groups and group members (graph API) (#5005)
* add tests for getting groups and group members

* bump core commit id

* fix scenario description

* fix php style

* add tests for creating empty group

* add unauthorized response check

* mark empty group creation scenario as expected to fail

* address reviews
2022-11-15 16:11:43 +01:00
dependabot[bot]
05e3bcc850 Bump github.com/go-micro/plugins/v4/registry/etcd from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/registry/etcd](https://github.com/go-micro/plugins) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.1.0...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/registry/etcd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 15:35:00 +01:00
Willy Kloucek
3e4068e2a0 fix OCIS_GRPC_CLIENT_TLS_CACERT annotation 2022-11-15 14:49:31 +01:00
Prarup Gurung
5f7863893d Merge pull request #5047 from owncloud/add-apitest-share-space-without-manager-permission
[full-ci] [tests-only] Added api test for sharing spaces with/out manager permission
2022-11-15 14:00:17 +05:45
Prarup Gurung
923c84d361 Added api test for sharing spaces with manager permission 2022-11-15 11:38:33 +05:45
Prarup Gurung
e09a723384 Added api test for sharing spaces without manager permission 2022-11-15 09:33:12 +05:45
Prarup Gurung
be4646652b Added api test for sharing disabled space (#5048) 2022-11-14 09:17:30 +01:00