grafana/public/app/features/users
Joan López de la Franca Beltran 610999cfa2
Auth: Allow soft token revocation (#31601)
* Add revoked_at field to user auth token to allow soft revokes

* Allow soft token revocations

* Update token revocations and tests

* Return error info on revokedTokenErr

* Override session cookie only when no revokedErr nor API request

* Display modal on revoked token error

* Feedback: Refactor TokenRevokedModal to FC

* Add GetUserRevokedTokens into UserTokenService

* Backendsrv: adds tests and refactors soft token path

* Apply feedback

* Write redirect cookie on token revoked error

* Update TokenRevokedModal style

* Return meaningful error info

* Some UI changes

* Update backend_srv tests

* Minor style fix on backend_srv tests

* Replace deprecated method usage to publish events

* Fix backend_srv tests

* Apply suggestions from code review

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>

* Minor style fix after PR suggestion commit

* Apply suggestions from code review

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* Prettier fixes

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-03-16 17:44:02 +01:00
..
__mocks__ Forms migration: Org users page (#23372) 2020-04-15 16:49:20 +02:00
__snapshots__ Chore: Upgrade typescript to 4.1 (#29493) 2020-12-03 15:05:59 +00:00
state Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
InviteeRow.tsx Forms migration: Org users page (#23372) 2020-04-15 16:49:20 +02:00
InviteesTable.test.tsx fixing issue with copy invite link 2018-12-14 13:49:14 +01:00
InviteesTable.tsx fixing issue with copy invite link 2018-12-14 13:49:14 +01:00
SignupInvited.test.tsx Routing NG: Replace Angular routing with react-router (#31463) 2021-03-10 18:03:36 +01:00
SignupInvited.tsx Routing NG: Replace Angular routing with react-router (#31463) 2021-03-10 18:03:36 +01:00
TokenRevokedModal.tsx Auth: Allow soft token revocation (#31601) 2021-03-16 17:44:02 +01:00
UsersActionBar.test.tsx Chore: Migrates reducers and actions to Redux Toolkit (#21287) 2020-01-13 08:03:22 +01:00
UsersActionBar.tsx Add space after comma for placeholder text (#25931) 2020-07-01 10:34:36 +03:00
UsersListPage.test.tsx Forms migration: Org users page (#23372) 2020-04-15 16:49:20 +02:00
UsersListPage.tsx Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
UsersTable.test.tsx Forms migration: Org users page (#23372) 2020-04-15 16:49:20 +02:00
UsersTable.tsx Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00