Mihai Doarna
90c80d6738
Teams: Add support for updating externalId field ( #106406 )
...
* add support for updating externalId field in teams
* return external_uid in GetTeam()
2025-06-11 10:02:20 +03:00
Mihai Doarna
10411361e7
Team: Add columns external_uid and is_provisioned to the team table ( #103285 )
...
* add columns external_id and is_provisioned to the team table
* generate openapi specs
* rename column to external_uid
* generate open api specs
* increase limit for external_uid to 256
2025-04-04 11:00:14 +03:00
Mihai Doarna
9dbcb3a066
Team: Add user_uid in TeamMemberDTO ( #102524 )
...
* add user_uid in TeamMemberDTO
* rewrite sql select string with Sprintf()
2025-03-25 11:18:40 +02:00
Mihai Doarna
bf53d278b7
Revert "Team: Include user UID in GetTeamMembers() output" ( #102519 )
...
Revert "Team: Include user UID in GetTeamMembers() output (#102373 )"
This reverts commit e5b6b7b370 .
2025-03-20 12:24:41 +02:00
Mihai Doarna
e5b6b7b370
Team: Include user UID in GetTeamMembers() output ( #102373 )
...
* include user UID in GetTeamMembers() output
* move user.uid next to the other user fields
* generate openapi specs
* remove new line at EOF
* fix sql select syntax
* fix sql select syntax
* fix sql select syntax
* fix sql select syntax
2025-03-19 16:47:45 +02:00
Jo
acd13e05ef
Teams: Support team UIDs in APIs ( #94011 )
...
* support team UIDs in APIs
* unify middleware logic and add team tests
* add UID test to resource permissions
* remove unused middleware
2024-10-07 10:18:24 +02:00
Karl Persson
ddee95cb6d
Team: Create permission type for team membership ( #92352 )
...
* Create permission type enum for team and remove usage of dashboard permission type
2024-08-23 12:34:34 +02:00
Ryan McKinley
a0cd89860e
Identity: Add endpoint to get display info for an identifier ( #91828 )
2024-08-15 14:38:43 +03:00
Ryan McKinley
ec6c6bd6c3
Identity: Add read-only identity apiserver ( #90418 )
2024-07-26 17:09:08 +03:00
Ryan McKinley
99d8025829
Chore: Move identity and errutil to apimachinery module ( #89116 )
2024-06-13 07:11:35 +03:00
Ieva
da1a99d729
Team: Add an endpoint for bulk team membership updates ( #87441 )
...
* add an endpoint for bulk team membership updates
* update comment
* schema gen
* test fix
* add swagger parameter definition
2024-05-17 13:41:41 +03:00
Ieva
748b3c855c
Chore: Clean up team membership code ( #86914 )
...
remove unused code, clean up commands
2024-04-25 16:46:24 +01:00
Dan Cech
d76defe517
K8s: Move GrafanaMetaAccessor into grafana-apiserver and remove usage of kinds metadata ( #79602 )
...
* move GrafanaMetaAccessor into pkg/apis, add support for Spec.Title & Spec.Name
* K8s: Move GrafanaMetaAccessor (PR into another) (#79728 )
* access titles
* remove title
* remove title
* remove kinds metadata accessor
* remove kinds metadata accessor
* fixes
* error handling
* fix tests
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-01-12 16:18:14 -05:00
Jo
0de66a8099
Authz: Remove use of SignedInUser copy for permission evaluation ( #78448 )
...
* remove use of SignedInUserCopies
* add extra safety to not cross assign permissions
unwind circular dependency
dashboardacl->dashboardaccess
fix missing import
* correctly set teams for permissions
* fix missing inits
* nit: check err
* exit early for api keys
2023-11-22 14:20:22 +01:00
Jo
259ecb1793
AuthZ: Improve team ID fetching for signedInUser ( #78378 )
...
* improve team ID fetching for signedInUser
* remove inner join
* rename func
* nit: remove extra params
* nit: spacing and wrapping
2023-11-20 16:23:13 +01:00
Alexander Zobnin
c0d8a7132e
Teams: Search by team ids ( #77730 )
...
* Teams: Search by team ids
* Add tests
* Fix tests
2023-11-06 18:08:11 +02:00
Gabriel MABILLE
6ffd4a23de
Team: Support sort query param for teams search endpoint ( #75622 )
...
* Teams: Implement backend sorting
* Add docs
* Make name ordering case insensitive
* lint
* Fix no lowercasing on memberCount
* Add test to double check the filters or correctly OrderBy
2023-09-28 18:20:51 +03:00
Jo
dcf06658eb
Chore: Implement requester in util pkg ( #74105 )
...
implement requester changes that do not impact functionality
2023-08-31 09:46:55 +02:00
Jo
30274a4f88
Auth: Move Team service to SignedInUserInterface ( #72674 )
...
* move SignedInUser to specific file
* add primitive interface for signedInUser
2023-08-02 10:43:56 +02:00
Ryan McKinley
c66d5721f7
Kinds: Use apimachinery ObjectMeta for metadata ( #68668 )
2023-05-24 09:13:44 -07:00
Ieva
4980b64274
RBAC: Remove legacy ac from authorization middleware ( #68898 )
...
remove legacy AC fallback from RBAC middleware, and some unused auth logic
2023-05-24 09:49:42 +01:00
Ieva
d54fa569ec
Chore: Remove legacy AC checks from team ( #68715 )
...
* removing legacy AC checks from team API handlers
* Chore: remove `UserIDFilter` from team queries (#68820 )
* remove userIDfilter from team queries in favour of RBAC SQL filtering
* fix typo
* remove redundant tests
* remove another unused function
* fix failing test
2023-05-22 18:41:53 +02:00
Dan Cech
7572988305
add uid to team table ( #66920 )
...
* add uid to team table
* concat
* add prefix to transition uids
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2023-05-09 13:03:28 -04:00
Kristin Laemmert
e8b8a9e276
chore: move dashboard_acl models into dashboard service ( #62151 )
2023-01-26 08:46:30 -05:00
idafurjes
490a787d9d
Chore: Move tem member models to team pkg ( #61294 )
...
* Chore: Move tem member models to team pkg
* Fix test lint
2023-01-13 09:43:38 +01:00
idafurjes
f2ffce4351
Chore: Move team models to models pkg ( #61262 )
...
* Chore: Move team models to models pkg
* Fix ACL tests
* More ACL tests
* Change Id to ID in conflict user command test
* Remove team from models
* Fix ac test lint
2023-01-11 14:20:09 +01:00