-
Notifications
You must be signed in to change notification settings - Fork 11
User Roles and Permissions
This document outlines the roles and permissions system introduced in the Antenna project. It covers:
-
Supported user roles and how to assign/unassign them via the Admin UI.
-
Object-level permissions for users and groups.
The permissions framework provides fine-grained object-level access control for the Project model and its related entities.
| Role Name | Permissions |
|---|---|
| Project Manager | Full control over the project and related entities. Can add, edit, delete all project-related objects. |
| Basic Member | Can view project information. Can star a Source Image. Project will show under "My Projects". |
| Identifier | Can create, update, and delete Identifications but only for those created by the user. |
-
Project Manager: Auto-assigned to the project owner upon project creation.
-
Basic Member: Auto-assigned to project members when they join a project.
-
Navigate to the Django Admin Panel:
-
Go to Users (/admin/users/user/)

-
Click on the user you want to modify.

- Scroll to the Groups section.
Select the permission group with project and appropriate role (Project Manager, Basic Member, or Identifier).
The groups are name following this format : {project_id}_{project_name}_{role_name}

- Click Save.
-
Deselect the role from the Groups section.
-
Click Save.
- Navigate to the Project Page:
Open Django Admin and go to Projects (/admin/main/project/).
-
Select the project you want to manage.

-
Go to the Object Permissions page.

-
In the Users section, enter the user's email in the User Identifier field and click Manage User.

-
Select the required permissions.
-
Click Save.
-
Go to the project's Object Permissions page.

-
In the Group section, enter the group name in the Group field and click Manage Group.

-
Select the required permissions.
-
Click Save.