mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[PR #201] [MERGED] Add group-based permissions system with granular access control #961
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#961
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/maziggy/bambuddy/pull/201
Author: @maziggy
Created: 1/31/2026
Status: ✅ Merged
Merged: 1/31/2026
Merged by: @maziggy
Base:
0.1.6-final← Head:feature/auth_details📝 Commits (2)
89229a5Add group-based permissions system with granular access control391214bMerge branch '0.1.6-final' into feature/auth_details📊 Changes
44 files changed (+13919 additions, -601 deletions)
View changed files
📝
CHANGELOG.md(+16 -0)📝
README.md(+3 -2)📝
backend/app/api/routes/auth.py(+45 -18)➕
backend/app/api/routes/groups.py(+316 -0)📝
backend/app/api/routes/printers.py(+91 -18)📝
backend/app/api/routes/settings.py(+63 -0)📝
backend/app/api/routes/users.py(+138 -55)📝
backend/app/core/auth.py(+125 -2)📝
backend/app/core/database.py(+106 -0)➕
backend/app/core/permissions.py(+392 -0)📝
backend/app/main.py(+2 -0)📝
backend/app/models/__init__.py(+3 -0)➕
backend/app/models/group.py(+54 -0)📝
backend/app/models/user.py(+82 -3)📝
backend/app/schemas/auth.py(+21 -1)➕
backend/app/schemas/group.py(+89 -0)📝
backend/tests/conftest.py(+6 -0)📝
backend/tests/integration/test_auth_api.py(+330 -1)📝
frontend/src/App.tsx(+4 -4)➕
frontend/src/__tests__/contexts/AuthContext.test.tsx(+169 -0)...and 24 more files
📄 Description
Implement a full permissions system replacing simple admin/user roles:
Backend:
Frontend:
Testing:
Closes #28 #161
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.