Skip to content

Permissions Plugin

Daniel Neto edited this page Oct 29, 2020 · 8 revisions

The idea of this plugin is to allow other plugins to create intermediate users. The goal is that selected user accounts can become moderators or helpers in some tasks without being named admin and thus giving them full control over all functions.

By default, the Permissions plugin gives you options for the following rights.

  • Comments Admin: Users with this option will be able to edit and delete comments in any video
  • Videos Admin: Just like admin, this user will have permission to edit and delete videos from any user, including videos from admin
  • Videos Moderator: This is a level below the "Videos Admin", this type of user can change the video publicity (Active, Inactive, Unlisted).
  • Users Admin: This type of user can edit users, can add or remove users into user groups, but cannot make them admins
  • Users Groups Admin: Can create, edit and delete user groups
  • Cache Manager: This will give the option to can clear cache (Site and first page)
  • Sitemap: This will give the option to generate SiteMap
  • Log: This will give the option to see the log file menu

More options can and will be added in the future. those options will always be based on the plugins.

How to add and remove permissions

Only Admins can add or remove permissions.

All permissions are granted or revoked on one or more user groups. then, all users will have the combined permissions of all their user groups.

For example, let's say that the user jesus is part of 2 user groups

  1. Uses Admins (Can only edit users)
  2. Video Moderator (Can only edit videos)

When jesus logs in he can either edit users or edit videos, as he will have their permissions for each group combined

Plugin Page

You can grant permissions on the plugins screen, where plugins that have extra permissions defined, will present a "User Groups Permissions" button

image

User Groups Page

Or on the user group management page. where when creating or editing each user group, you will see what options you can choose

image

Clone this wiki locally