Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of hardcoded admin user uuid #3656

Merged
merged 4 commits into from
May 4, 2022
Merged

Conversation

rhafer
Copy link
Contributor

@rhafer rhafer commented May 3, 2022

The UUID is generated by ocs init now and stored in the config file. To avoid that every ocis install uses the same UUID

Related Issue

@rhafer rhafer force-pushed the gen-adminuuid branch 2 times, most recently from 2359b63 to d6e6143 Compare May 3, 2022 11:18
@rhafer rhafer marked this pull request as ready for review May 3, 2022 11:36
Copy link
Collaborator

@kobergj kobergj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some open questions

changelog/unreleased/change-ocis-init.md Outdated Show resolved Hide resolved
@rhafer rhafer mentioned this pull request May 3, 2022
45 tasks
Copy link
Collaborator

@kobergj kobergj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome now 👍 Should we run with [full-ci]?

Copy link
Contributor

@micbar micbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!

@ownclouders
Copy link
Contributor

ownclouders commented May 3, 2022

💥 Acceptance test Core-API-Tests-ocis-storage-3 failed. Further test are cancelled...

rhafer and others added 4 commits May 4, 2022 11:48
The reva and idp users are service users and don't need any roles
assigned. They currently used for performing LDAP searches.
The UUID is generated by `ocs init` now and stored in the config file.
To avoid that every ocis install uses the same UUID

Closes: owncloud#3524
Also let the top-level ocis config validator error out if admin_user_id
is unset at start.
@sonarcloud
Copy link

sonarcloud bot commented May 4, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

6.7% 6.7% Coverage
0.0% 0.0% Duplication

@rhafer rhafer merged commit d6bf26c into owncloud:master May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hardcoded admin id
4 participants