hackforla / hackforla/knowledgebase

Populate security privileges for roles

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
complexity: medium draft feature: security data milestone: missing role: back end dev size: 2pt
Dominant language
Python
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### Blockers/Dependencies
None

### Overview
REPLACE THIS TEXT -Text here that clearly states the purpose of this issue in 2 sentences or less.

### Action Items
- [ ] Create script that will:
- [ ] If PEOPLE_DEPOt_SYNCH=TRUE
- [ ] kb.admin: all privileges for kb,view privileges for PD. For V2, allow update of users
- [ ] kb.maintainer: all privileges for kb, view privileges for pd
- [ ] kb.approver: same as maintainer
- [ ] kb.view: all view privileges for kb and pd
- [ ] If PEOPLE_DEPOT_SYNCH=FALSE
- [ ] kb.admin: all privileges for all tables
- [ ] kb.maintainer: all privileges for all tables except view only for users
- [ ] kb.approver: same as maintainer
- [ ] kb.view: all view privileges for kb and pd
### How to Manually Verify
REPLACE THIS TEXT - Describe how to manually verify either through UI or executing the code and inspecting.

### Automated Tests
Any automated tests?

### Resources/Instructions
REPLACE THIS TEXT -If there is a website which has documentation that helps with this issue provide the link(s) here.

Contributor guide

Open the contributing guide

Research direction

No implementation files, entry points, or automated tests are identified. First clarify the placeholder overview, the PEOPLE_DEPOT_SYNCH behavior, the privilege scope for each role, and how to verify the result. Done should include the script, documented manual verification, and automated tests covering both synchronization settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authorization, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.