Skip to main content

Simple classes for setting group permissions

Project description

pypi travis coverage

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edc-permissions-0.1.17.macosx-10.13-x86_64.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edc_permissions-0.1.17-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file edc-permissions-0.1.17.macosx-10.13-x86_64.tar.gz.

File metadata

  • Download URL: edc-permissions-0.1.17.macosx-10.13-x86_64.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for edc-permissions-0.1.17.macosx-10.13-x86_64.tar.gz
Algorithm Hash digest
SHA256 6fc95af5e84eb84f363fcc737695653462356e40baea7b332b4f07b01c6909fa
MD5 2ba525ba823f855f7f045f29c8bb9b78
BLAKE2b-256 b7f72e0332a6eb48af153a93ffb404a0c0084b3bbf0eba9ce82a32dbcbc87b77

See more details on using hashes here.

File details

Details for the file edc_permissions-0.1.17-py3-none-any.whl.

File metadata

  • Download URL: edc_permissions-0.1.17-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for edc_permissions-0.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 765e5f66cf6881084e95117cd604bd57a48b6e72cd2662bc260676ec92b10cdb
MD5 6567b6f94cbc96078c6f0cf28252133a
BLAKE2b-256 c68ffdd45e48468ab029473a6f2d40d89821ba6c2d3bd0f30cbfa600b5dfa593

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page