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
Trust for role #2589
Trust for role #2589
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2589 +/- ##
==========================================
- Coverage 77.17% 76.82% -0.35%
==========================================
Files 375 376 +1
Lines 39639 39936 +297
Branches 1966 1974 +8
==========================================
+ Hits 30592 30682 +90
- Misses 9047 9254 +207
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! A couple of missing words in i18n files.
And a few comments from using it locally:
It shows me I can revoke the trust, and will make a delete request, which succeeds, but the approved role doesn't go away, which was confusing. I know you mentioned that somewhere, as it would need a bunch of notifications, etc... I wonder if it could just remove the role and leave the notifications till later... right now it's a bit confusing (especially as the threshold is 1).
In both screenshots the role
is not in missing in the text, missing i18n var?
Same for history, missing role name in text.
Would be nice to see approved status in the member list too, can wait. I think it'll come up as a need quite quickly though.
editors can give trust for approved (editors only)
I think this bit got missed out - the idea was only editors can give approval. Although @nathalie-sz and @brnsolikyl proposed editors or approved can approve (https://community.karrot.world/t/applicant-trial-pickup-proposal/575/59).
The first use case we are aiming to support is from @dwaxweiler, who said this about it:
Concerning the discussion about who approves: My concern is that not every member should be able to approve because in our group, for example, we have designated a person who checks whether the new person has fulfilled all criteria before approving them.
... personally, I would vote for limiting it to just editors to give trust for approval role right now.
Sorry if that seems a lot of stuff at the last minute! I have capacity to help out!
My idea was to remove the trust button in the member list and replace it with a more simple display of roles and trust.. maybe with a "table" component. |
Implement another "trust" button to let editors grant the approved role to users.
Based on #2361
Needs karrot-dev/karrot-backend#1167 backend.