Ensure staff users are considered as add forge now moderators.
Rename has_add_forge_now_permission function to is_add_forge_now_moderator
and move it to swh.web.auth.utils module.
Related to T4254
Differential D7848
add_forge_now: Harmonize moderator permission management anlambert on May 18 2022, 1:39 PM. Authored by Tags None Subscribers None
Details
Ensure staff users are considered as add forge now moderators. Rename has_add_forge_now_permission function to is_add_forge_now_moderator Related to T4254
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D7848 (id=28348)Rebasing onto f2d6fec278... Current branch diff-target is up to date. Changes applied before testcommit b548d2f261abe15792a5c207f7258ba4adc0e366 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Wed May 18 13:35:39 2022 +0200 add_forge_now: Harmonize moderator permission management Ensure staff users are considered as add forge now moderators. Rename has_add_forge_now_permission function to is_add_forge_now_moderator and move it to swh.web.auth.utils module. Related to T4254 See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1848/ for more details. |