Piranha doesn't really care how your users gets authenticated, whether it's the end users of your application or the administrators accessing the manager interface. Instead, Piranha uses a claims based security model to check what the current user has access to.
We provide two different packages for handling authentication, one for development and one for production scenarios.
To read more about how the implement custom authentication services for your application, please refer to Authentication under the Extensions section.
The core Piranha application has two Claims that are used when trying to preview unpublished content.
PiranhaPagePreview
PiranhaPostPreview
THe following claims define the different actions the logged in user can perform in the manager interface. To assign these claims to different users you setup Roles
which have access to different Claims
. A user can have several roles.
PiranhaAdmin
If the user has access to the manager interfacePiranhaAliases
If the user can view the alias pagePiranhaAliasesDelete
If the user can delete existing aliasesPiranhaAliasesEdit
If the user can add and edit existing aliasesPiranhaConfig
If the user can view the config pagePiranhaConfigEdit
If the user can update config settingsPiranhaMedia
If the user can view the media pagePiranhaMediaAdd
If the user can upload new mediaPiranhaMediaDelete
If the user can delete existing mediaPiranhaMediaEdit
If the user can update existing mediaPiranhaMediaAddFolder
If the user can add new folders in the media libraryPiranhaMediaDeleteFolder
If the user can delete existing media foldersPiranhaPages
If the user can view the page structurePiranhaPagesAdd
If the user can add new pagesPiranhaPagesDelete
If the user can delete existing pagesPiranhaPagesEdit
If the user can view the page detailsPiranhaPagesPublish
If the user can publish and unpublish pagesPiranhaPagesSave
If the user can update existing pagesPiranhaPosts
If the user can view postsPiranhaPostsAdd
If the user can add new postsPiranhaPostsDelete
If the user can delete existing postsPiranhaPostsEdit
If the user can view the post detailsPiranhaPostsPublish
If the user can publish and unpublished postsPiranhaPostsSave
If the user can update existing postsPiranhaSites
If the user can view the site pagePiranhaSitesAdd
If the user can add new sitesPiranhaSitesDelete
If the user can delete existing sitesPiranhaSitesEdit
If the user can view site detailsPiranhaSitesSave
If the user can update existing sites