Open
Conversation
Adds a network-wide setting to allow subsite administrators to edit users within their own subsites. This complements the capability filters implemented in disciple-tools-theme PR #2789. Features: - New User Permissions tab in Network Admin > Disciple.Tools menu - Checkbox to enable/disable subsite admin user editing capability - Security documentation explaining restrictions (no super admin editing, no cross-subsite editing) - Uses site option 'dt_allow_subsite_admins_edit_users' (disabled by default) Changes: - Created includes/tab-user-permissions.php with settings UI - Added tab registration in disciple-tools-multisite.php - Added tab navigation and routing in includes/admin-page.php Security: Feature is disabled by default and requires explicit super admin action to enable.
Member
Author
|
@claude this PR fails tests |
Add phpcs:ignore comment for NonceVerification.Missing as the nonce is verified in content() method before process_form() is called.
c853160 to
7826324
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a network-wide setting to allow subsite administrators to edit users within their own subsites. This complements the capability filters implemented in disciple-tools-theme PR #2789.
Features:
Changes:
Security: Feature is disabled by default and requires explicit super admin action to enable.