Author:
TwistedInteractive
Version:
1.1
Released:
8 May 2012
Category:
Workflow

Browse

Description

Author Roles

please note: for the 2.2.x-branch you need to download v1.0, for 2.3+, download v1.1

What does this extension do?

In short: this extension allows you to set permissions for each author with roles. It is the successor of the Author Section extension.

More detailed: The extension allows you to set the following permissions:

  • Show or hide certain sections
  • Set the rights for each section to create, edit or delete entries
  • Hide fields on certain sections
  • Let the author only see their own created entries
  • Show or hide certain entries on the publish page of sections

How does it work?

Under the System-tab you see a new item 'Roles'. This is where you can manage your roles. You can create as many roles as you want, and asign a role to multiple authors.

When you create a role you can set the permission for each section, by using the checkboxes. By clicking 'edit' underneath 'Fields' you can select which fields should be hidden for this section.

By clicking 'edit' underneath 'Entries' you can set various permissions. You can set if the author is only allowed to see the entries he/she created, and you can set a filter. The filter works quite easy actually. First you choose if the filter is to show or hide certain entries. In the textfield you can on or more ID's of entries. You can also set a range of ID's by using a hyphen.

Sidenotes

  • Fields that are set to 'hidden' will be made hidden with JavaScript. This is to ensure that all the data gets send and stored on a POST-action when an entry is saved. However, this could cause some issues with third-party field-types, although these aren't encountered yet.
  • Fields that are required cannot be set to 'hidden', since that would cause an error when trying to store the entry.
  • If you choose to filter entries (by letting an author only show his/her own entries or using the filter), pagination on the publish pages is disabled. This has to be done, because Symphony doesn't have a hook to alter the query used to retreive the entries.

Repository

https://github.com/TwistedInteractive/author_roles

Discuss this Extension

Compatibility

2.7.10 Unsure
2.7.9 Unsure
2.7.8 Unsure
2.7.7 Unsure
2.7.6 Unsure
2.7.5 Unsure
2.7.4 Unsure
2.7.3 Unsure
2.7.2 Unsure
2.7.1 Unsure
2.7.0 Unsure
2.6.11 Unsure
2.6.10 Unsure
2.6.9 Unsure
2.6.8 Unsure
2.6.7 Unsure
2.6.6 Unsure
2.6.5 Unsure
2.6.4 Unsure
2.5.4 Unsure

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details