Skip to content

feat(admin): disable VO create button on no auth

David Flor requested to merge xflord/STR-1463/vo_creator into main

Description

feat(admin): disable VO create button on no auth

  • disabled the VO creation button instead of hiding it
  • also added a tooltip describing the necessity for the VOCREATOR role
  • this is in order to let VOADMINs know why they cannot create VOs

How to test

Make it so that you do not pass the 'createVo' policy check (remove PERUNADMIN and VOADMIN/VOCREATOR, depending on whether the BE branch is deployed, ideally deploy it) and check that the button is disabled and the tooltip is visible.

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Other information

N/A

Related issues

re STR-1465

Edited by David Flor

Merge request reports