AlexandriaILS / Alexandria

Open Source Integrated Library System
1 stars 2 forks source link

Migrate permissions to account type #18

Closed itsthejoker closed 2 years ago

itsthejoker commented 2 years ago

Relevant issue: #14

Description:

As expected, this is very much not a small thing. This PR moves all permissions and appropriate flags to the account_type attribute behind the user model, which django doesn't particularly like but works better usability-wise for our application.

This is still unfinished, so opening as a draft.

Checklist:

github-actions[bot] commented 2 years ago

Current coverage: 71%