-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Harden permission management #1651
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1651 +/- ##
=============================================
+ Coverage 81.01% 81.07% +0.05%
- Complexity 1340 1351 +11
=============================================
Files 361 361
Lines 9225 9269 +44
Branches 853 860 +7
=============================================
+ Hits 7474 7515 +41
- Misses 1751 1754 +3 ☔ View full report in Codecov by Sentry. |
PILOS Run #1509
Run Properties:
|
Project |
PILOS
|
Branch Review |
harden-permission-management
|
Run status |
Passed #1509
|
Run duration | 04m 51s |
Commit |
6b34c08e84: Harden permission management
|
Committer | Samuel Weirich |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
237
|
View all changes introduced in this branch ↗︎ |
67a9a90
to
927abf6
Compare
ad4338e
to
0278095
Compare
Prevent non-superusers from deleting or editing superusers, prevent non-superusers from assigning the superuser role to other users
5370fae
to
6b34c08
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
many more codecov warnings than usual. not sure if this is an issue here
|
||
## Permissions | ||
|
||
Permissions are the smallest unit of access control in PILOS. They define what actions a user can perform in the system, except in rooms, where a user's role also influences their abilities. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actions allowed to perform are not abilities? not 100% sure what this is supposed to mean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ideas is: Permissions usually decide what a user can / cannot do. Inside a room there is an additional permission system in place where the role of a user in the room influences what the user can / cannot do.
Do you have suggestions how this could be communicated in a more clear way?
If you look at the details of the report, you can see that most sections are 100% covered and the sections with no changes / decreases are not covered yet by frontend tests. |
Type (Highlight the corresponding type)
Checklist
Changes