Skip to content

User permissions

Ricky edited this page Nov 10, 2018 · 2 revisions

Each user on the system will belong to a contributor group which defines the actions/permissions each member can perform.

Permissions are defined within each module in the permissions.json configuration file.

Permissions model

Check permissions to perform an action for a blog the current logged in user

function userHasPermission(string $permissionName[, int $blogID = 0])

Core permissions

create_posts

Create new posts

publish_posts

Publish posts

edit_own_posts

Edit own posts

edit_all_posts

Edit any post

delete_own_posts

Delete own posts

delete_posts

Delete any post

manage_contributors

Manage contributors

delete_files

Delete files

change_settings

Change blog settings