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

vfolder APIs calls from admin blocked because of strict broad status check #1864

Open
fregataa opened this issue Jan 26, 2024 · 0 comments
Open
Labels
urgency:4 As soon as feasible, implementation is essential.

Comments

@fregataa
Copy link
Member

fregataa commented Jan 26, 2024

All vfolder API functions call ensure_vfolder_status() to check vfolder's status.
And ensure_vfolder_status() calls query_accessible_vfolders() to fetch all accessible vfolders.
Admins sometimes are blocked when check vfolder's status in ensure_vfolder_status because admins can access to too many folders and the ensure_vfolder_status function checks status of all accessible vfolder entries.

e.g) All users have .local vfolder and some of them are under deleted status. A user whose vfolder is ready status can rename it from .local, but admin cannot rename any .local vfolder.

@fregataa fregataa added the urgency:4 As soon as feasible, implementation is essential. label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
urgency:4 As soon as feasible, implementation is essential.
Projects
None yet
Development

No branches or pull requests

1 participant