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
David Christofas
3125459415
[full-ci]fallback to stored roles ( #4890 )
...
* fallback to stored roles
If there are no roles in the current context load the user's roles from the storage.
* some code clean up
2022-11-03 13:25:21 +01:00
Ralf Haferkamp
b24d126b30
Introduce TLS Settings for go-micro based http services
...
TLS for the services can be configure by setting the "OCIS_HTTP_TLS_ENABLED",
"OCIS_HTTP_TLS_CERTIFICATE" and "OCIS_HTTP_TLS_KEY" environment variables.
Currently the ocis proxy is this only service that directly accesses backend
services. It determines whether to use TLS or not by looking a the new registry
metadata "use_tls". As specific CA Cert for certificate verification
can be set with the "PROXY_HTTPS_CACERT" environment variable.
2022-11-03 11:58:53 +01:00
Ralf Haferkamp
ee974afebf
[full-ci] Introduce TLS Settings for go-micro based grpc services and clients ( #4901 )
...
* Introduce TLS Settings for go-micro based grpc services and clients
TLS for the services can be configure by setting the OCIS_MICRO_GRPC_TLS_ENABLED"
"OCIS_MICRO_GRPC_TLS_CERTIFICATE" and "OCIS_MICRO_GRPC_TLS_KEY"
enviroment variables.
TLS for the clients can configured by setting the "OCIS_MICRO_GRPC_CLIENT_TLS_MODE"
and "OCIS_MICRO_GRPC_CLIENT_TLS_CACERT" variables.
By default TLS is disabled.
Co-authored-by: Martin <github@diemattels.at >
* Unify TLS configuration for all grpc services
All grpc service (whether they're based on reva) or go-micro use the
same set of config vars now.
TLS for the services can be configure by setting the OCIS_GRPC_TLS_ENABLED,
OCIS_GRPC_TLS_CERTIFICATE and OCIS_GRPC_TLS_KEY enviroment variables.
TLS for the clients can configured by setting the OCIS_GRPC_CLIENT_TLS_MODE
and OCIS_MICRO_GRPC_CLIENT_TLS_CACERT variables.
There are no individual per service config vars currently. If really
needed, per service tls configurations can be specified via config file.
Co-authored-by: Martin <github@diemattels.at >
Co-authored-by: Martin <github@diemattels.at >
2022-11-03 10:17:08 +01:00
Benedikt Kulmann
2b27b0c8bf
Merge pull request #4892 from owncloud/pnpm-2
...
[full-ci] Build idp and settings frontends with pnpm
2022-10-27 10:35:12 +02:00
David Christofas
73e50ae84b
prohibit users form setting and listing other user's values
2022-10-25 14:13:47 +02:00
Dominik Schmidt
8d342851d7
Do not set store-dir in Makefiles
2022-10-25 11:12:51 +02:00
Dominik Schmidt
b195c6bb0d
Build idp and settings frontends with pnpm
2022-10-24 20:31:56 +02:00
Willy Kloucek
ca5affd9f3
fix comment
2022-10-19 10:25:54 +02:00
Willy Kloucek
ad0924d874
move the language-read-write permission's id and name into a const
2022-10-19 09:00:33 +02:00
mmattel
6edb44fa83
Improving the description for several environemt variables
2022-10-13 12:07:46 +02:00
Jannik Stehle
5be83e204f
Fix xpath selector for files space table
2022-10-11 15:16:15 +02:00
ownClouders
c4b09b0e02
[tx] updated from transifex
2022-10-07 00:50:05 +00:00
David Christofas
1b0ec2c9d5
update module path of ttlcache ( #4738 )
...
The GitHub repository of ttlcache has been moved from ReneKroon to jellydator.
2022-10-04 17:33:53 +02:00
Jörn Friedrich Dreyer
e9e9947f88
bring back CORS env vars ( #4723 )
...
* bring back CORS env vars
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* update CORS descriptions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* align writing of 'A comma-separated ...'
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* fix some desc quotes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at >
* Apply more suggestions from code review
Co-authored-by: Martin <github@diemattels.at >
* Apply final suggestions from code review
Co-authored-by: Martin <github@diemattels.at >
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Co-authored-by: Martin <github@diemattels.at >
2022-10-04 16:56:05 +02:00
Ralf Haferkamp
87eaf72020
Forbid to edit/remove own role assignements
...
And admin user is no longer allowed to edit/remove its own assignments.
This to prevent admins from locking themselves out.
Fixes : #3713
2022-09-23 09:13:46 +02:00
Ralf Haferkamp
e5543d4465
Add new "delete-all-spaces" permission
...
This is assigned to the Admin role by default and allows to cleanup
orphaned spaces (e.g. where the owner as been deleted)
Fixes : #4196
2022-09-07 18:21:26 +02:00
Christian Richter
6a9d4efef6
add delete home space permission to admin role
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-08-30 11:09:05 +02:00
Willy Kloucek
9f2be9f4f9
remove Log prefix from configlog functions
2022-08-22 08:08:18 +02:00
Willy Kloucek
e58eaabdeb
move config parse error logging into function to ensure new lines and don't parse config for help
2022-08-18 15:27:28 +02:00
Willy Kloucek
46706fff32
Merge pull request #4407 from wkloucek/rename-extensions-to-services-reloaded
...
rename extensions to services (leftover occurences)
2022-08-18 14:03:20 +02:00
Willy Kloucek
60689c9c1a
improve unsupervised description
2022-08-18 10:59:35 +02:00
Willy Kloucek
6154466bbc
rename extensions to services (leftover occurences)
2022-08-17 15:36:52 +02:00
jkoberg
66ff20442f
use .golangci.yml
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-08-17 14:20:05 +02:00
ownClouders
1da7c12ee7
[tx] updated from transifex
2022-07-29 00:06:21 +00:00
Willy Kloucek
bee33638ef
remove Body from endpoint, see 3381a9f3db
2022-07-25 12:16:37 +02:00
Ralf Haferkamp
b4a90b132b
Demote demo user "moss" from admin to space-admin
...
Fixes : #3625
2022-07-22 16:47:04 +02:00
Pascal Wengerter
cdadd5d00f
Merge pull request #4214 from owncloud/dependabot/npm_and_yarn/services/settings/eslint-plugin-n-15.2.4
...
Bump eslint-plugin-n from 15.2.3 to 15.2.4 in /services/settings
2022-07-20 13:44:28 +02:00
dependabot[bot]
6dc8047f32
Bump terser from 5.7.2 to 5.14.2 in /services/settings
...
Bumps [terser](https://github.com/terser/terser ) from 5.7.2 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-20 09:13:54 +00:00
dependabot[bot]
eb086128c6
Bump eslint-plugin-n from 15.2.3 to 15.2.4 in /services/settings
...
Bumps [eslint-plugin-n](https://github.com/weiran-zsd/eslint-plugin-node ) from 15.2.3 to 15.2.4.
- [Release notes](https://github.com/weiran-zsd/eslint-plugin-node/releases )
- [Commits](https://github.com/weiran-zsd/eslint-plugin-node/compare/15.2.3...15.2.4 )
---
updated-dependencies:
- dependency-name: eslint-plugin-n
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-18 06:33:25 +00:00
Ralf Haferkamp
946f3e8feb
Remove unused BindEnv code
...
We dropped this in favour of envdecode a while ago.
2022-07-14 16:34:25 +02:00
Pascal Wengerter
8dd0dd15fd
Remove unused nightwatch-vrt dep
2022-07-11 12:47:18 +02:00
Pascal Wengerter
82a7d4092f
Merge pull request #4157 from owncloud/dependabot/npm_and_yarn/services/settings/rollup/plugin-replace-4.0.0
...
Bump @rollup/plugin-replace from 2.4.2 to 4.0.0 in /services/settings
2022-07-11 10:37:24 +02:00
dependabot[bot]
eeb09a2a60
Bump @babel/preset-env from 7.16.11 to 7.18.6 in /services/settings
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.16.11 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-11 06:32:12 +00:00
dependabot[bot]
f74576c3d0
Bump @rollup/plugin-replace from 2.4.2 to 4.0.0 in /services/settings
...
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace ) from 2.4.2 to 4.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/url-v4.0.0/packages/replace )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-11 06:31:50 +00:00
Benedikt Kulmann
981c448395
[full-ci] Bump web to v5.7.0-rc.3 ( #4140 )
...
* Bump web to v5.7.0-rc.4
* Switch default value for resharing in capabilities to true
* Fix access token usage in settings ui
2022-07-08 19:15:34 +02:00
mmattel
246377b35b
Env variable text fixes
2022-07-07 19:53:27 +05:45
Ralf Haferkamp
4a09d8a948
Remove redundant setting of cli.HelpFlag
...
The help flag is configured automatically by default already. We don't
need to redo that for every single service.
This also addresses one of the finding of "go race" (#4088 )
2022-07-05 14:59:06 +02:00
Pascal Wengerter
6c7ca9e07c
Merge pull request #4079 from owncloud/dependabot/npm_and_yarn/services/settings/cucumber/pretty-formatter-1.0.0
...
Bump @cucumber/pretty-formatter from 1.0.0-alpha.2 to 1.0.0 in /services/settings
2022-07-04 17:48:52 +02:00
dependabot[bot]
a5d8dd2103
Bump eslint from 8.18.0 to 8.19.0 in /services/settings
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.18.0 to 8.19.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.18.0...v8.19.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-04 06:32:03 +00:00
dependabot[bot]
da21873be6
Bump @cucumber/pretty-formatter in /services/settings
...
Bumps [@cucumber/pretty-formatter](https://github.com/jbpros/cucumber-pretty-formatter ) from 1.0.0-alpha.2 to 1.0.0.
- [Release notes](https://github.com/jbpros/cucumber-pretty-formatter/releases )
- [Changelog](https://github.com/cucumber/cucumber-js-pretty-formatter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jbpros/cucumber-pretty-formatter/compare/v1.0.0-alpha.2...v1.0.0 )
---
updated-dependencies:
- dependency-name: "@cucumber/pretty-formatter"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-04 06:31:43 +00:00
Pascal Wengerter
ff8a916023
Merge pull request #4069 from owncloud/dependabot/npm_and_yarn/services/settings/babel/core-7.18.6
...
Bump @babel/core from 7.15.5 to 7.18.6 in /services/settings
2022-06-29 17:08:19 +02:00
Pascal Wengerter
3d2dc3a794
Merge pull request #4067 from owncloud/dependabot/npm_and_yarn/services/settings/rollup-2.75.7
...
Bump rollup from 2.70.1 to 2.75.7 in /services/settings
2022-06-29 14:06:07 +02:00
dependabot[bot]
1a2ccfeb4f
Bump @babel/core from 7.15.5 to 7.18.6 in /services/settings
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.15.5 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-29 11:34:23 +00:00
dependabot[bot]
2c80b6f24f
Bump rollup from 2.70.1 to 2.75.7 in /services/settings
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.70.1 to 2.75.7.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.70.1...v2.75.7 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-29 11:20:55 +00:00
dependabot[bot]
b9ab9123f6
Bump async from 3.2.1 to 3.2.4 in /services/settings
...
Bumps [async](https://github.com/caolan/async ) from 3.2.1 to 3.2.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v3.2.1...v3.2.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-29 11:01:08 +00:00
dependabot[bot]
80a1234abb
Bump ejs from 3.1.6 to 3.1.8 in /services/settings
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/mde/ejs/releases )
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.8 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-29 10:19:16 +00:00
Pascal Wengerter
c0b92f9571
Unskip settings service acceptance tests ( #4057 )
...
* Update dependencies, browserslist, linting, acceptance test translations for settings service
* Unskip settings service acceptance tests
* unsilence ci-node-generate steps
* Reset nodejs in CI from 16 to 14
Co-authored-by: Willy Kloucek <wkloucek@owncloud.com >
2022-06-29 12:17:55 +02:00
Willy Kloucek
4d60867cd6
improve *_HTTP_ROOT descriptions
2022-06-29 09:44:12 +02:00