hackforla / knowledgebase

MIT License
1 stars 4 forks source link

Draft: Define KB security rules #107

Open ethanstrominger opened 1 month ago

ethanstrominger commented 1 month ago

Overview

Define roles and security rules so that a user can be assigned appropriate privileges

Action Items

Overview

Define privileges for KB roles for user and groups so that KB users have privileges needed and no unneeded priviliges and no information they don't. Implementation will be a separate issue.

Action Items

Details Draft

There will be an API kb/user. The API will enforce user security based on PD roles that start with kb. The roles will be seeded into the existing Django roles table.

Terminology: A contributor is a People Depot user with the kb-contributor role. The API will be secured using Django roles. Below are the Django roles and what a

name linked in website Row Level Privileges

Field Level Privleges