Repository navigation
Let only global admins manage Admin on the aggregated front-page weblog - #383
Conversation
With aggregation on, the front-page weblog's templates read across the whole site, so its Admins are trusted like global admins. A weblog Admin could still promote members or invite new Admins there. Granting, removing or inviting Admin on that weblog now needs a global admin.
mraible
left a comment
There was a problem hiding this comment.
Looks good. The check covers promoting, removing and inviting, and the members and invite pages are the only places that grant weblog permissions.
|
@snoopdave a heads-up for whichever of this and #322 merges second. #322 keys the Members page rows by permission id ( I merged both onto master to check: 5 of the 6 |
…lobal-only # Conflicts: # CHANGES.md
|
@mraible need a re-review on this one too please. |
mraible
left a comment
There was a problem hiding this comment.
Re-reviewed: the new commit is only the merge of master, and CI is green. Keying by user id is right for master as it is now. If this merges first, I'll switch the check and its test to the permission id in #322 when I bring that branch up to date.
Master twin of #381: with aggregation on, the front-page weblog's templates read the whole site, but any Admin of that weblog could promote members or invite new Admins.
Memberspage keys rows by user id, so the check does too.FrontPageAdminMembershipTest. Full suite on JDK 25 (release 21): 911 tests, 0 failures.CHANGES.mdentry under 7.0.0 behaviour changes. Note: master'sMembers.savefails on a permission whose user was deleted (6.1.x handles it); not changed here.