Help
Knowledge Manager
Permissions

Permissions

We have implemented a custom permissions system that allows users to give others access to individual commands.

Users with Discord administrator permissions and server owners are ignored by the permissions system. They have to execute any command.

How does it work?

The bot first checks if the user is the owner of the server or has a role with Discord Administrator permissions. If this isn't the case, it checks what permissions have been granted to the user directly and to their roles. If any of their roles have permission, he will be able to execute the command that requires that permission.

Example

The user has Role A and Role B. Role A has been granted the MANAGE_TASKS and MANAGE_PROJECTS permissions. Role B has only been granted the EDIT_TASK permission and no others. Because the user has both roles, they can create tasks, edit tasks and create projects.

Grant permissions

Permissions can be granted by running the permission grant command. After a permission was added, the bot will apply the changes immediately and the user can run the command that requires the permission.

Revoke permissions

Permissions can be revoked by executing the permission revoke command.

⚠️

Even after revoking a user's permissions, they may still have access to certain commands through their roles that provide the same permissions.

All permissions

PermissionUse caseBot
SET_STATEIs required to update the state (todo, in progress, done) of a task.Task Manager
MANAGE_TASKSIs required to create, delete and restore a new task.Task Manager
EDIT_TASKSIs required to edit a task.Task Manager
ASSIGN_TASKIs required to add an assignee to a task.Task Manager
UNASSIGN_TASKIs required to remove an assignee from a task.Task Manager
VIEW_TASKSIs required to view tasks (for example via "/task list")Task Manager
CREATE_PERSONAL_PROJECTSIs required to create a personal projectTask Manager & Knowledge Manager
MANAGE_PERMISSIONSIs required to show all permissions, grant or revoke permissionsTask Manager & Knowledge Manager
MANAGE_PROJECTSIs required to create, rename, delete and restore projects.Task Manager & Knowledge Manager
SET_LANGUAGEIs required to use the /language commandTask Manager & Knowledge Manager
MANAGE_LOGGINGIs required to use the /logging commandTask Manager
MANAGE_DOCUMENTSIs required if a user needs to create, edit, change the topic, delete and restore a document.Knowledge Manager
READ_DOCUMENTSIs required to read a document and list all documents.Knowledge Manager
MANAGE_TOPICSIs required to create, rename, delete and restore a topic and all of its documents.Knowledge Manager

Project based permissions

All permissions can be granted to a user or role for a specific project. This means that the user or role will only have access to the command if they specify the project in the command or have the project selected. This will work only on commands that have a project option. Use it with caution.

Permission commands

💡

To understand the concept of permissions, take a look at this page.

/permission grant
mentionable
@User
permission
MANAGE_TASKS
project
My Project
This will grant the mentioned user or role the specified permission.
Required permission: MANAGE_PERMISSIONS
/permission revoke
mentionable
@User
permission
MANAGE_TASKS
project
My Project
Removes specified permisson from mentioned user. Users or roles with administrator permissions & server owners won't be affected by this. If the user has a role with the permission granted, he can still execute commands requiring that permission.
Required permission: MANAGE_PERMISSIONS
/permission list
mentionable
@User
project
My Project
This will display all permissions and show if the user has the permission.
Required permission: MANAGE_PERMISSIONS
/permission preset
preset
contributor
mentionable
@User
project
My Project
Apply a preset to a user or role. Presets are a collection of permissions.
Required permission: MANAGE_PERMISSIONS

Permission presets

Permission presets are an easy way to grant a user or role multiple permissions at once. They can be used to grant a basic set of permissions to a user or role specific to a role in the server.

When a preset is applied, all permissions that are already granted to the user or role will be removed and replaced with the permissions of the preset. After applying a preset, more permissions can be granted to the user or role. The permissions granted by the preset can be revoked too.

Available presets

Preset namePermissions granted
adminIncludes every permission available
contributor- MANAGE_TOPICS
- MANAGE_DOCUMENTS
- READ_DOCUMENTS
- MANAGE_TASKS
- VIEW_TASKS
- EDIT_TASKS
- SET_STATE
- ASSIGN_TASK
- UNASSIGN_TASK
- CREATE_PERSONAL_PROJECTS
guest- VIEW_TASKS
- READ_DOCUMENTS
bnder logo