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 guidance about what roles you need. There are many reasons for creating custom roles; 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 with OC Publisher or OC Editor roles. This provides 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, creating OpenCities roles that mirror those in OpenForms may be helpful. 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 want to restrict those users from editing anything outside 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 typical 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 on your staff approves or rejects content.

To create roles for workflows, you simply need to create a new role, add the permissions under Workflow approvals, and 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