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

Default role assignments for demo users are created even when no demo users are present #3661

Closed
rhafer opened this issue May 3, 2022 · 0 comments · Fixed by #3956
Closed
Labels

Comments

@rhafer
Copy link
Contributor

rhafer commented May 3, 2022

Describe the bug

Even when not creating the demo users on startup we still create the default role assignments for them.

Steps to reproduce

Start ocis without creating the demo users

List role assignment for demo user (moss) in this case:

curl -k -u admin:admin https://localhost:9200/api/v0/settings/assignments-list -X POST --data '{"account_uuid": "058bff95-6708-4fe5-91e4-9ea3d377588b"}'
{
  "assignments": [
    {
      "id": "8ac44d80-d1a6-4e5f-b1ac-b054071cc02d",
      "accountUuid": "058bff95-6708-4fe5-91e4-9ea3d377588b",
      "roleId": "71881883-1768-46bd-a24d-a356a2afdf7f"
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants