plane icon indicating copy to clipboard operation
plane copied to clipboard

[WEB-3286] fix: allow admins to delete other admins views

Open sangeethailango opened this issue 9 months ago • 2 comments

Description

This PR will allow admins to delete a view created by other admins

Summary by CodeRabbit

  • Refactor
    • Adjusted deletion permissions to restrict this action to administrators and members, enhancing the overall security and ensuring that only authorized users can perform deletions.

sangeethailango avatar Mar 18 '25 13:03 sangeethailango

Open to other suggestions on how to improve this.

I realize this overloads what the hint argument is used for as a per-item attribute. https://docs.rs/cliclack/latest/cliclack/struct.MultiSelect.html#method.item

However, any subsequent 'correct' use of the hint will also fix the same problem.

vineetjohn avatar Mar 16 '25 22:03 vineetjohn