Simple classes for setting group permissions
Project description
edc-permissions
Simple classes for setting group permissions required for Edc deployments.
To add the default groups and permissions run the management command:
python manage.py update_edc_permissions
Default Groups
The default groups are required for the normal operation of an EDC deployment. The default groups are:
ACCOUNT_MANAGER: members may add/change and delete user accounts
ADMINISTRATION: members may view the Administration page
AUDITOR: members may view all forms but have no add/change permissions.
CLINIC: members may add/edit/delete all CRFs, Requisitions, Actions and other required clinic trial data entry forms. They may also view the Requisition page of the Lab section;
EVERYONE: members may access the EDC;
LAB: members may perform all functions in the Lab section (Edit requisitions, receive, process, pack, manage manifests, etc);
PHARMACY:
PII: members may view all personally identifiable data and edit forms that manage such data (Screening, Consents, Patient registration);
PII_VIEW: members may view personally identifiable data but have no add/edit permissions for any of the forms that store such data.
Default membership for Clinical staff:
EVERYONE
ADMINISTRATION
CLINIC
PII
Default membership for Laboratory technicians:
EVERYONE
ADMINISTRATION
LAB
PII_VIEW
Default membership for Auditors:
EVERYONE
ADMINISTRATION
AUDITOR
PII_VIEW
** Permissions **
Permissions use Django’s permission framework, therefore, all permissions are linked to some model.
Permissions don’t always naturally link to a model. In such cases, a dummy model is created. For example, with Navigation bars from edc_navbar. Permissions to follow an item on a navigation bar are associated with model edc_navbar.Navbar. A similar approach is used for listboard permissions using edc_dashboard.Dashboard.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for edc-permissions-0.1.16.macosx-10.13-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b313a22053af92d94bfbec130803148fff84da49db03948f3c91c66b114fe12e |
|
MD5 | 98297844a27e11423b24f8e46cb14122 |
|
BLAKE2b-256 | d2acbb9ee9185e087c5a133d5f4d749608636d3d3ee18260ef633deddc1077d4 |
Hashes for edc_permissions-0.1.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3304ba58adc5389099daa092a4d650399400d67736b565884caafb66f06c356 |
|
MD5 | 93f7f22df7055c1094406a60b237f1fc |
|
BLAKE2b-256 | b1ce939579c30dbc52334b4af52fb80f667d6f23c75cef452d98a5db3024be32 |