Commit Graph

64 Commits (c440bd2bdaec8fed13f47fdfe76dda63e7d0008a)

Author SHA1 Message Date
Yuri Tseretyan af513964c8
Alerting: Migration to remove scope from permission alert.notifications.receivers:create (#95805) 1 year ago
Karl Persson 6f7528f896
Migration: Remove table aliasing in delete statement to make it work for mariadb (#95226) 1 year ago
Karl Persson 2d0ea60017
ServiceAccounts: Run migration in batches (#94429) 1 year ago
Ieva d7aca7d0fe
Role mapping: Add `group_mapping_uid` column to `user_role` table (#93810) 1 year ago
Ieva 6eeef432de
RBAC: Add dash and folder action sets where they are missing (#92832) 1 year ago
Karl Persson c7ca2bfcf5
ServiceAccounts: Remove permissions to service account when it is deleted (#93877) 1 year ago
Karl Persson ddee95cb6d
Team: Create permission type for team membership (#92352) 1 year ago
Yuri Tseretyan 12605bfed2
Alerting: Update fixed roles to include silences permissions (#85826) 2 years ago
Ieva 65534e62a6
RBAC: add kind, attribute and identifier to annotation permissions during the migration (#83299) 2 years ago
Ieva 7343102d59
RBAC: Migration to remove the scope from permissions where action is alert.instances:read (#82202) 2 years ago
Dan Cech 790e1feb93
Chore: Update test database initialization (#81673) 2 years ago
Ryan McKinley 9c9e5e68c8
User: Add uid colum to user table (#81615) 2 years ago
Ryan McKinley 1fab107e79
FeatureFlags: Avoid using cfg.IsFeatureToggleEnabled (#81407) 2 years ago
Ieva 048d1e7c86
RBAC: Annotation permission migration (#78899) 2 years ago
Matthew Jacobson e45f664ca4
Alerting: Replace index role_id, action, scope with action, scope, role_id on permission table (#80336) 2 years ago
Gabriel MABILLE 63679813b0
RBAC: prevent seeding oncall access (#80862) 2 years ago
Gabriel MABILLE c9ac069076
RBAC: Add origin column to seed_assignment (#80326) 2 years ago
Jo 0de66a8099
Authz: Remove use of SignedInUser copy for permission evaluation (#78448) 2 years ago
Ryan McKinley f69fd3726b
FeatureToggles: Add context and and an explicit global check (#78081) 2 years ago
Ryan McKinley dec9a07738
Settings: Actually deprecate access to feature flags (#78073) 2 years ago
Ryan McKinley 3509a5abb9
FeatureFlags: Cleanup usage of cfg.IsFeatureToggleEnabled (#78014) 2 years ago
kay delaney a12cb8cbf3
LibraryPanels: Add RBAC support (#73475) 2 years ago
Ryan McKinley 025b2f3011
Chore: use any rather than interface{} (#74066) 2 years ago
Ieva cfa1a2c55f
RBAC: Split non-empty scopes into `kind`, `attribute` and `identifier` fields for better search performance (#71933) 3 years ago
Dan Cech a6279b2d62
Database: Make dialects independent of xorm Engine (#69955) 3 years ago
Ieva 035bf29146
RBAC: Remove the option to disable RBAC and add automated permission migrations for instances that had RBAC disabled (#66652) 3 years ago
Emil Tullstedt 3abaf32cf2
Chore: Upgrade golangci-lint to v1.51.2 (#63630) 3 years ago
Serge Zaitsev bc2813ef06
Chore: Fix goimports grouping in pkg/services (#62420) 3 years ago
Kristin Laemmert e8b8a9e276
chore: move dashboard_acl models into dashboard service (#62151) 3 years ago
idafurjes 68445a7c77
Chore: Remove dashboard ACL from models (#61749) 3 years ago
Denis Limarev e6dee8a723
Perfomance: Preallocate slices (#61580) 3 years ago
idafurjes 490a787d9d
Chore: Move tem member models to team pkg (#61294) 3 years ago
idafurjes f2ffce4351
Chore: Move team models to models pkg (#61262) 3 years ago
idafurjes 7dcb502b33
Chore: Remove org model duplicates (#61025) 3 years ago
Karl Persson 6aaf36776b
RBAC: Handle edge case where there is duplicated acl entries for a role on a single dashboard (#58079) 3 years ago
Eric Leijonmarck fc1b647474
Auth: Add fixed repeat migration w. checks for subset of permissions (#58054) 3 years ago
Karl Persson 21792fdf37
RBAC: Make uid for managed role names deterministic during migrations (#56620) 3 years ago
Karl Persson b1761908c2
RBAC: Add primary key to seed_assignment table (#56540) 3 years ago
Ieva 6d5bdf12e8
resolve merge conflicts (#55503) 3 years ago
idafurjes 6afad51761
Move SignedInUser to user service and RoleType and Roles to org (#53445) 3 years ago
Ieva 39025bb4cd
add logs to debug failing migration (#52447) 4 years ago
idafurjes f5cace8bbd
Rename Acl to ACL (#52342) 4 years ago
Ieva c851907fc3
Access Control: Fix missing folder permissions (#52153) 4 years ago
idafurjes 6c43eb0b4d
Split Create User (#50502) 4 years ago
Gabriel MABILLE 307a0d4538
RBAC: Inheritance permission migration should handle empty managed roles (#50611) 4 years ago
Gabriel MABILLE 2813e49842
RBAC: Fix migrations running into the wrong order (#50452) 4 years ago
Ieva 7c800421d3
RBAC: change migration logic (#50187) 4 years ago
Ieva 5dbea9996b
RBAC: Make RBAC action names more consistent (#49730) 4 years ago
Karl Persson bdff63d4a8
RBAC: Include alert.rules action when setting folder permissions (#49946) 4 years ago
Karl Persson f4f25d911b
add migrator to drop folder create actions that was set fromt he folder (#49878) 4 years ago