jcore / oikeus
JCORE Module Template repository
Installs: 475
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/jcore/oikeus
Requires
- jcore/ydin: ^3.5
Requires (Dev)
This package is auto-updated.
Last update: 2025-10-12 14:22:17 UTC
README
This module provides a custom site_admin role for WordPress, based on the Editor role, with additional capabilities and restrictions. It is designed to allow advanced site management without full administrator privileges.
Features
- Custom Role: Adds a site_adminrole based on Editor, with extra capabilities:- Can create, promote, and list users.
- Can manage navigation menus.
 
- Restricted Access:
- site_adminusers cannot access the Site Editor or Themes screens.
- The Themes and Site Editor menu items are hidden for site_adminusers.
- site_adminusers cannot assign the Administrator role to others.
 
- Menu and Capability Management:
- Ensures site_admincan access Appearance > Menus.
- Prevents access to theme and plugin editors.
 
- Ensures 
Usage
- 
Installation: 
 Require this module in your project and ensure it is loaded before theinithook.
- 
Initialization: 
 Call the bootstrapper early in your plugin or theme:Jcore\Oikeus\Bootstrap::init();st.org that tracks this repository