owncloud / owncloud/ocis

Serveral places with hardcoded UUIDs

Open
#3,554 4 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug

ocis has still quite a few place where it using hardcoded UUIDs:

* as already mentioned the admin user (#3524) and the settings service user (#3343) use hardcoded UUIDs
* all the roles and permissions have hardcoded UUIDs https://github.com/owncloud/ocis/blob/master/extensions/settings/pkg/store/defaults/defaults.go
* the space id for the settings service is hardcoded https://github.com/owncloud/ocis/blob/master/extensions/settings/pkg/store/metadata/store.go#L23
* likely more (this is just what a quick glance revealed)

I think we need to address all of these to make sure the UUIDs we use are really globally unique (across instances)

cc @dragonchaser @C0rby @butonic @micbar

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.