don't store service user data in metadataservice
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
1 parent
b7c934b1b1
commit
d54f75df8b
2 files changed
+2
-2
No files matched your search
@@ -71,7 +71,7 @@ func DefaultConfig() *config.Config {
|
|||||||
},
|
},
|
||||||
ServiceUser: config.ServiceUser{
|
ServiceUser: config.ServiceUser{
|
||||||
UUID: "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad",
|
UUID: "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad",
|
||||||
Username: "service user",
|
Username: "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad",
|
||||||
UID: 0,
|
UID: 0,
|
||||||
GID: 0,
|
GID: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import (
|
|||||||
|
|
||||||
// ListRoleAssignments loads and returns all role assignments matching the given assignment identifier.
|
// ListRoleAssignments loads and returns all role assignments matching the given assignment identifier.
|
||||||
func (s *Store) ListRoleAssignments(accountUUID string) ([]*settingsmsg.UserRoleAssignment, error) {
|
func (s *Store) ListRoleAssignments(accountUUID string) ([]*settingsmsg.UserRoleAssignment, error) {
|
||||||
if s.mdc == nil {
|
if s.mdc == nil || accountUUID == "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad" {
|
||||||
return defaultRoleAssignments(accountUUID), nil
|
return defaultRoleAssignments(accountUUID), nil
|
||||||
}
|
}
|
||||||
s.Init()
|
s.Init()
|
||||||
|
|||||||
Reference in new issue
Block a user