Welcome to the OpenCities help centre. Search for what you're after, or browse the categories.
Can't find what you're looking for? Submit a support ticket and we'll be in touch.

Follow

Ideas for custom roles

avatar of Kira Hartley

Kira Hartley

Last updated

Creating custom roles for your users is easy, but you may want some guidance about what kind of roles you need. There are many reasons for creating custom roles, and you may want to do it before your users start creating content. Here are some custom roles we've often seen:

Advanced editing access

The OC Publisher and OC Editor roles give users the most basic access to editing content on your site. While this is beneficial, as these users cannot accidentally delete or archive existing content, the downside is that they cannot access the full suite of options in the WYSIWYG Editor, and OC Editors cannot create new content.

You can create a new role that has Advanced WYSIWYG editing checked to get around this. You'll find this task under Manage content, but make sure you don't give users access to the complete section. After you Save this role, give it to users who already have the OC Publisher or OC Editor roles. This gives users advanced WYSIWYG access while retaining restrictions around archiving and deleting content.

Mirroring forms roles when the SSO bridge is in use

If you're using Single Sign-On between OpenCities and OpenForms, it may be helpful to create OpenCities roles that mirror those in OpenForms. This will allow you to create roles specific to OpenForms, without granting those users permissions in OpenCities.

The OpenForms roles mirror these permissions:

OpenForms role OpenCities permissions
Author
  • OpenForms Author (create, edit, delete forms, workflows and custom documents)
Reporter
  • OpenForms Reporter (See and export responses, files and custom documents)
Reviewer
  • OpenForms Reviewer (Assignable as a reviewer to any workflow step)
Admin
  • OpenForms Admin (Manage admin and Integration settings. Assign local users and workspaces)
Account Owner
  • OpenForms Account Owner (Manage external users, access billing and security tools, access all admin, author, and reporter tools)

Roles and page permissions

You may have users who need complete editing access but should only be working on specific sections of the site tree. For example, you may have a content team for your library department, and you want to restrict those users from editing anything outside of the library content.

To achieve this, you can create a custom, department-specific role with complete editing access (including creating, editing, archiving, and deleting content) and any other permissions they need, but then add page permissions to your site tree. This will restrict those users from editing anything outside of the library content.

Roles for specific workflows

A common example is creating custom roles for different workflows. Many cities and councils have workflows for specific content types, such as events or news articles. Creating a custom role for each of these allows you to ensure the content goes through the workflow correctly and keep track of who in your staff is approving or rejecting content.

To create roles for workflows, you simply need to create a new role, add the permissions under Workflow approvals, then specify that role in the Approvals tab of the workflow.

This is also helpful for MyCity workflows, ensuring that content submitted by your community members adheres to accuracy and your site's content guidelines.

What else?

Was this article helpful?
0 out of 0 found this helpful