-
Notifications
You must be signed in to change notification settings - Fork 0
03. Backend Control Panel & Security
StatComm features a dedicated Control Panel matrix wrapped completely inside Statamic's secure statamic.cp middleware stack. This natively locks out malicious scripts and external bots using session verification and strict CSRF shields.
StatComm registers three granular control keys under Users > Roles in the Statamic CP interface:
-
view comments: Grants access to view the primary StatComm data stream logs matrix.
-
edit comments: Allows an authenticated user to overwrite a comment's buffer payload or toggle its public approval state.
-
delete comments: Allows an administrator to permanently purge a comment packet from storage arrays.
StatComm natively supports Statamic's role aggregation layer. For instance:
-
A user with only a Writer role will be blocked from viewing or executing moderation routes.
-
A user with both a Writer and an Admin role will pass cleanly, as Statamic combines all assigned permission capabilities behind the scenes.
-
Super Users automatically bypass all permission walls.
To prevent interface clutter, the sidebar tool link hides itself automatically using the $this->authorize('view comments'); guard. Only users explicitly permitted to moderate comments will see the terminal button.
Engineered / sponsored by Huement.com.
If this software saved you time or a headache, consider keeping the engine running!