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

fix: Allow admins to delete other user's vfolders #3137

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

fregataa
Copy link
Member

@fregataa fregataa commented Nov 26, 2024

resolves https://github.com/lablup/giftbox/issues/773

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version
  • Mention to the original issue
  • API server-client counterparts (e.g., manager API -> client SDK)

📚 Documentation preview 📚: https://sorna--3137.org.readthedocs.build/en/3137/


📚 Documentation preview 📚: https://sorna-ko--3137.org.readthedocs.build/ko/3137/

@fregataa fregataa added this to the 24.03 milestone Nov 26, 2024
@fregataa fregataa self-assigned this Nov 26, 2024
@github-actions github-actions bot added area:docs Documentations comp:manager Related to Manager component size:S 10~30 LoC labels Nov 26, 2024
@fregataa fregataa changed the title fix: Allow admins to delete others vfolder fix: Enable admins to delete other user's vfolders Nov 26, 2024
@fregataa fregataa changed the title fix: Enable admins to delete other user's vfolders fix: Allow admins to delete other user's vfolders Nov 26, 2024
@fregataa fregataa added the urgency:5 It is imperative that action be taken right away. label Nov 26, 2024
await resolve_vfolder_rows(
request, VFolderPermission.OWNER_PERM, folder_id, allow_privileged_access=True
)
)[0]
Copy link
Member

@jopemachine jopemachine Nov 27, 2024

Choose a reason for hiding this comment

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

@fregataa If the number of vfolders must be exactly one, let's either raise an error or at least display a warning message when it isn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:docs Documentations comp:manager Related to Manager component size:S 10~30 LoC urgency:5 It is imperative that action be taken right away.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants