mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-23 09:59:21 -05:00
[PR #6] [MERGED] v1.11 Improve permission management #2770
Reference in New Issue
Block a user
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/moghtech/komodo/pull/6
Author: @mbecker20
Created: 7/19/2024
Status: ✅ Merged
Merged: 7/19/2024
Merged by: @mbecker20
Base:
main← Head:1.11📝 Commits (10+)
3ccab9cadd "all permissions" feature on user and user group schema8a324c7prepare support for group alla9c5125implement user.all and user_group.all for broad base permissioningcab2241clean up unused deps57d1889sync support user group permissions regex76b27c31.110195e29fix fe ? issuef68b32ethis doesn't work7925cc4sync handle user group all set42bd6f8retain above non earlier📊 Changes
45 files changed (+1244 additions, -390 deletions)
View changed files
📝
Cargo.lock(+14 -13)📝
Cargo.toml(+3 -2)📝
bin/core/Cargo.toml(+1 -0)📝
bin/core/src/api/read/alert.rs(+5 -5)📝
bin/core/src/api/read/alerter.rs(+13 -20)📝
bin/core/src/api/read/builder.rs(+14 -18)📝
bin/core/src/api/read/mod.rs(+1 -0)📝
bin/core/src/api/read/permission.rs(+1 -1)📝
bin/core/src/api/read/server_template.rs(+13 -19)📝
bin/core/src/api/read/toml.rs(+1 -0)📝
bin/core/src/api/read/update.rs(+101 -35)📝
bin/core/src/api/read/user.rs(+26 -10)📝
bin/core/src/api/user.rs(+16 -29)📝
bin/core/src/api/write/mod.rs(+1 -0)📝
bin/core/src/api/write/permissions.rs(+72 -2)📝
bin/core/src/api/write/service_user.rs(+2 -5)📝
bin/core/src/api/write/user_group.rs(+2 -1)📝
bin/core/src/auth/github/mod.rs(+2 -5)📝
bin/core/src/auth/google/mod.rs(+2 -5)📝
bin/core/src/auth/local.rs(+2 -5)...and 25 more files
📄 Description
Configure base permissions on all resources of a specific type (Read on all servers, Execute on all builds, etc.)
- Supported for both users and user groups
UserGroups declared in ResourceSync can now use regex to match against many resources for permissioning
See https://docs.monitor.mogh.tech/docs/sync-resources#user-group for example.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.