snoopdave opened a new pull request, #395:
URL: https://github.com/apache/roller/pull/395

   Master copy of #394, from a code review with Gemini Neon. Two membership 
paths didn't fully apply the rule from #383 that only a global admin changes 
Admin on the aggregated front-page weblog.
   
   - `MembersInvite.save()` accepts only `admin`, `post` or `edit_draft` as the 
invited role. Any other value, including a list of roles, is refused with a new 
message, `inviteMember.error.unknownPermission`.
   - `MemberResign.resign()` refuses when an Admin who isn't a global admin 
resigns from the aggregated front-page weblog. Authors and Limited members can 
still resign. The server-side last-Admin check that 6.1.x has (#334) is not 
added here; it reaches master with the next merge of `roller-6.1.x`.
   - `FrontPageAdminMembershipTest`: 5 new tests. 3 fail without the change; 2 
confirm that resigning still works where it should. Full suite on JDK 25: 930 
tests, 0 failures. `CHANGES.md` 7.0.0 updated.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to