1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00
unleash.unleash/frontend/src/component
Nuno Góis d63b3c69fe
feat: adapt user logic to better adapt to SAs (#2917)
https://linear.app/unleash/issue/2-579/improve-user-like-behaviour-for-service-accounts-accounts-concept

<img width="803" alt="image"
src="https://user-images.githubusercontent.com/14320932/213011584-75870595-988d-49bc-a7bf-cd1ffd146bca.png">

Makes SAs behave more like users. 

Even though they share the same `users` database table, the `is_service`
column distinguishes them. This PR makes the distinction a bit less
obvious by not filtering out SAs for some methods in the user store,
returning both account types and their respective account type
information so we can handle them properly on the UI.

We felt like this was a good enough approach for now, and a decent
compromise to move SAs forward. In the future, we may want to make a
full refactor with the `accounts` concept in mind, which we've
experimented with in the
[accounts-refactoring](https://github.com/Unleash/unleash/tree/accounts-refactoring)
branches (both OSS and Enterprise).
 
https://github.com/Unleash/unleash/pull/2918 - Moves this a bit further,
by introducing the account service and store.
2023-01-18 12:12:44 +00:00
..
addons POC: integration tests (#2422) 2022-12-06 15:28:33 +01:00
admin feat: adapt user logic to better adapt to SAs (#2917) 2023-01-18 12:12:44 +00:00
application Fix crashing search bars (#2765) 2022-12-28 12:35:27 +02:00
archive fix: disable autoResetHiddenColumns when useConditionallyHiddenColumns (#2851) 2023-01-10 08:15:12 +00:00
changeRequest refactor: styles batch 3 (#2821) 2023-01-11 17:44:21 +01:00
common fix: small breadcrumb adjustments (#2893) 2023-01-16 13:09:38 +01:00
context Styled components batch4.1 (#2812) 2023-01-05 09:45:39 +01:00
environments Styled components batch4.1 (#2812) 2023-01-05 09:45:39 +01:00
events fix: add environment to event log card (#2912) 2023-01-18 10:19:25 +01:00
feature feat: better tooltip links (#2891) 2023-01-16 13:04:52 +01:00
feedback refactor: styles batch 3 (#2821) 2023-01-11 17:44:21 +01:00
layout fix: flex was breaking change request banner (#2890) 2023-01-12 16:47:36 +01:00
maintenance Maintenance mode for users (#2716) 2022-12-21 13:23:44 +02:00
menu Fix/redirect woes (#2899) 2023-01-17 13:33:52 +01:00
playground/Playground fix: disable autoResetHiddenColumns when useConditionallyHiddenColumns (#2851) 2023-01-10 08:15:12 +00:00
project feat: adapt user logic to better adapt to SAs (#2917) 2023-01-18 12:12:44 +00:00
providers feat: allows creation of PATs for other users (#2718) 2023-01-02 10:49:57 +00:00
segments fix: disable autoResetHiddenColumns when useConditionallyHiddenColumns (#2851) 2023-01-10 08:15:12 +00:00
splash Makestyles refactor #7/1 (#2805) 2023-01-03 16:30:59 +02:00
strategies feat: export ui api integration (#2888) 2023-01-12 16:09:13 +01:00
tags refactor: styles batch 3 (#2821) 2023-01-11 17:44:21 +01:00
user fix track invite-link user created event (#2689) 2023-01-11 11:24:11 +02:00
App.tsx Fix/redirect woes (#2899) 2023-01-17 13:33:52 +01:00