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
non-admins unable to browse volumes created by stacks #4929
Comments
Ticket update by Bala Natarajan (bala.Natarajan@portainer.io) Hi Thanks for raising this, i think its similar to this issue |
@PortainerSupport Thanks for the hint. I don't know if it's completely similar as in #4851. In my case, the permissions are not reset to admins like in #4851, according to the permissions everything is fine: |
Ticket update by Bala Natarajan (bala.Natarajan@portainer.io) Hi Thanks, . I believe its a single host docker deployment . 1.pl make sure an agent runs on 9001 port 2.from the UI ,in endpoints section , access the agent endpoint and click 3.also while creating volume, pl make sure restricted access is chosen and non |
Hi,
No, it's a Docker Swam Deployment.
Sure it does.
The non-admin-users have access to the endpoints.
The volumes are automatically created by the stack and inherited the permissions. |
Ticket update by Bala Natarajan (bala.Natarajan@portainer.io) Hi please try out on incognito mode and different browsers once. pl share |
No luck with incognito mode on Firefox and Chromium. Logs:
|
Hi Looks like same #4851. I created a nginx service from admin user and mount the test volume tht has restricted access, it doesn't show up the data for joe user when login,
|
@balasu According to the logs, the issue is that portainer attaches a timestamp to the volume name. |
Ticket update by Bala Natarajan (bala.Natarajan@portainer.io) Hi kindly share the stack/service yaml of ur system will try to reproduce |
registry.domain.tld is an internal registry.
|
Ticket update by Bala Natarajan (bala.Natarajan@portainer.io) Hi looks like a bug After stack is created and assigned restricted access, non-admin user Getting |
Bug description
Non-Admins are unable to browse their volumes though
Enable volume management for non-administrators
is enabled.Expected behavior
Users / Teams can access and browse the volumes of their stacks
Portainer Logs
Unfortunately the last log entry is from yesterday, so it seems nothing related is logged.
Steps to reproduce the issue:
Enable volume management for non-administrators
to enabled.Technical details:
docker run -p 9000:9000 portainer/portainer
): docker stack deploy --compose-file=portainer-agent-stack.yml portainerThe text was updated successfully, but these errors were encountered: