-
Notifications
You must be signed in to change notification settings - Fork 191
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
Static user documentation outdated #1757
Comments
You could see the new current way to define static users at here hawkbit.security.user.admin.password={noop}admin
hawkbit.security.user.admin.roles=TENANT_ADMIN
hawkbit.security.user.admin.tenant=DEFAULT
hawkbit.security.user.anonymous.password={noop}admin
hawkbit.security.user.anonymous.roles=READ_REPOSITORY
hawkbit.security.user.anonymous.tenant=DEFAULT
hawkbit.security.user.operator.password={noop}admin
hawkbit.security.user.operator.roles=UPDATE_REPOSITORY
hawkbit.security.user.operator.tenant=DEFAULT we should, sure, update the documentation. Thanks for pointing out |
Hi, thanks for the quick reply. Unfortunately,
Setting So, assigning the permissions defined in SpPermission.java to |
With roles you assign roles. To assign permissions you could use: hawkbit.security.user.my_user.permissions=READ_REPOSITORY,READ_ROLLOUT |
OK, Anyway, that is good enough for me. Thanks for the support. |
The static user creation as documented here does not seem to (just) work. Only the default
admin
user appears to have access.By digging through the repository I noticed some rather recent refactorings (#1666) and was then able to create a second user (besides the default
admin
) in this manner:However, the user should only have the
DOWNLOAD_REPOSITORY_ARTIFACT
permission, for which there does not seem to be a corresponding role.How can this currently be achieved? Some up-to-date documentation would of course be awesome...
The text was updated successfully, but these errors were encountered: