mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-05 08:03:55 -04:00
fix: make storage system user a service account
The reva auth-middleware blocks users without a tenant id, expect system users.
This commit is contained in:
committed by
Ralf Haferkamp
parent
7b5c59e827
commit
736fb9db1f
@@ -50,7 +50,7 @@ func StorageSystemFromStruct(cfg *config.Config) map[string]interface{} {
|
||||
"id": map[string]interface{}{
|
||||
"opaqueId": cfg.SystemUserID,
|
||||
"idp": "internal",
|
||||
"type": userpb.UserType_USER_TYPE_PRIMARY,
|
||||
"type": userpb.UserType_USER_TYPE_SERVICE,
|
||||
},
|
||||
"username": "serviceuser",
|
||||
"display_name": "System User",
|
||||
|
||||
Reference in New Issue
Block a user