Closed CREDO23 closed 1 year ago
Thanks for your contribution @CREDO23 I will test it out soon.
@gabrielBusta, have you tested it ?
@gabrielBusta, @bhearsum now:
releng
, relman
, tb-releng
and required roles are 1 relman
, 1 releng
then show a popup so that the user can choose a role to sign with. Here, only releng
or relman
are allowedrelman
and required roles are 1 relman
, 1 releng
then signoff
directly upon update. No need to show a popuptb-releng
and required roles are 1 relman
, 1 releng
then disable the signoff
button.Here is a demo here
@gabrielBusta - it looks like this is ready for another look?
Thanks @CREDO23!
Works for me on the local instance.
I actually just tested this and I like it . Great work @CREDO23 .
This PR resolve the #1145 issue
Changes made:
Retreive required roles:
If the user has only one role in the required role list,
signoff
directly: