Opened 17 years ago
Closed 16 years ago
#11803 closed defect (bug) (fixed)
create a manage_sites cap for super admins
| Reported by: | Denis-de-Bernardy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Users | Version: | 3.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | multisite |
Description
Per discussion in IRC and #11644, we create a manage_sites cap.
current_user_can(manage_sites) initially returns is_super_admin(). This improves code readability and opens the door for future enhancements in a fully transparent manner.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [13301]) multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803