Commit graph

1230 commits

Author SHA1 Message Date
Erik Jan de Wit
8631584920
make resouce field required (#2290)
fixes: #2061
2022-03-22 12:13:43 +01:00
agagancarczyk
12977d929c
Create attribute - required toggle in general settings (#2279)
* fixed required in general settings

* feedback

* indentation fix

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-21 14:46:01 +00:00
Erik Jan de Wit
3395744d3d
Revert "fixed link (#2258)" (#2312)
This reverts commit 44f0306840.
2022-03-21 12:34:43 +01:00
Jenny
08775c65a2
fix scope details title key (#2280) 2022-03-21 09:52:07 +01:00
Erik Jan de Wit
51aba823ef
Convert detail tab text to links (#2277)
* convert to link

* changed to be link to details

fixes: #2039
2022-03-21 07:45:49 +01:00
Erik Jan de Wit
44f0306840
fixed link (#2258)
fixes: #1958
2022-03-21 07:44:36 +01:00
Jenny
8d86d380ac
Auth evaluate fix (#2274)
* fix incorrect empty state

* fix incorrect empty state
2022-03-18 14:28:31 +01:00
Erik Jan de Wit
f71cbf171a
assure that the value is either emtpy or 0 (#2243)
fixes: #1941
2022-03-18 14:21:21 +01:00
Erik Jan de Wit
68a8c29a8a
always enable regenerate button (#2237)
fixes: #1832
2022-03-18 14:20:51 +01:00
Erik Jan de Wit
f3d1c0fc2d
generate provider form with the dynmic components (#2198)
* generate provider form with the dynmic components

Added a FileComponent and removed the need for custom views

* fixed merge error

* fixed tests

* Update src/realm-settings/keys/key-providers/KeyProviderForm.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-03-18 14:20:23 +01:00
agagancarczyk
84d501c145
added deleting validator (#2278)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-17 11:05:10 +00:00
Erik Jan de Wit
330dd33803
Always keep DEFAULT_LOCAL selected (#2241) 2022-03-16 14:58:25 +01:00
Erik Jan de Wit
b023c802f5
Fixed line up and added missing search dropdowns (#2264) 2022-03-16 14:57:50 +01:00
mfrances17
45b6be4fe8
Fixes SAML provider AuthnContext Constraints fields (#2231)
* no multiline for now

* multiline work in progress

* changed to JSON.stringify

* both multiline fields working

* check for undefined to prevent JSON issue

* streamline saml and oidc provider tests

* final tests and misc fixes

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2022-03-16 07:25:01 -04:00
Erik Jan de Wit
e672849935
Fix build (#2276) 2022-03-16 12:11:51 +01:00
mfrances17
8fa978aeb0
Add all missing Kerberos tests (#2263) 2022-03-16 11:48:21 +01:00
Erik Jan de Wit
0a33d5f0dd
Default value and required field for generate keys (#2195) 2022-03-16 11:37:45 +01:00
Erik Jan de Wit
8d5b2f903a
Split out the key based into a sperate component (#2177) 2022-03-16 10:39:58 +01:00
agagancarczyk
9242ba6935
Ream-settings-> User profile -> Create attribute (#2265)
* create attribute - wip

* create attribute - wip

* create attribute - added attributes general settings form template

* create attribute - added attributes permission form template

* added validations form

* added validations table

* added empty state for validators table

* added attribute annotations form

* attribute validations - css improvement

* attribute annotations - css improvement

* added requiredWhen label

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute

* fixed deleting attribute

* put the validators into the form

* feedback fixes

* added defaultValues

* fixed permissions

* removed unused form value

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
2022-03-16 09:32:23 +00:00
Erik Jan de Wit
ba4765fdc5
remove add users button (#2235)
fixes: #1808
2022-03-16 10:09:27 +01:00
Erik Jan de Wit
ceffcba321
Added hint when no user found (#2257) 2022-03-15 10:44:46 +01:00
mfrances17
49c77c20cd
Change order of client sections (#2245) 2022-03-15 10:43:48 +01:00
Erik Jan de Wit
a3105e9327
Validate the input from the user (#2242) 2022-03-14 11:26:36 +01:00
Erik Jan de Wit
b426886e6a
Changed to use RoutableTabs (#2244) 2022-03-14 11:26:19 +01:00
Erik Jan de Wit
883e59a5a3
Remove "Revoke Refresh Token" when not revoke on (#2234) 2022-03-14 11:26:06 +01:00
Erik Jan de Wit
d85fc18a63
Added preselected / disabled on create permission (#2236) 2022-03-14 11:17:16 +01:00
Erik Jan de Wit
6539c8a0c1
Sort client scope dialogs (#2239) 2022-03-14 11:17:03 +01:00
Erik Jan de Wit
05f321fd06
Added confirm dialog on disable (#2238) 2022-03-14 11:16:43 +01:00
Jenny
7c4509e9bf
Add realm actions tests 2022-03-14 11:16:23 +01:00
Erik Jan de Wit
5dba749b78
Reset filter after change (#2226) 2022-03-14 11:15:48 +01:00
mfrances17
92401922d3
changed tab order (#2246) 2022-03-14 11:15:28 +01:00
mfrances17
fc4ce1201d
fix client profile links (#2247) 2022-03-14 11:15:03 +01:00
Erik Jan de Wit
4ca905d667
Added filter (#2224) 2022-03-11 11:22:09 +01:00
Erik Jan de Wit
c73b4d2432
added hidden input to submit name when disabled (#2222) 2022-03-11 11:19:43 +01:00
Jenny
b64fd23559
Fix(clients -> authorization): Evaluate results screen (#2220) 2022-03-11 11:19:20 +01:00
Jenny
3a25b5e5ec
use isReadOnly (#2221) 2022-03-10 16:05:15 -05:00
Erik Jan de Wit
bc365b03b9
fixed dragging and dropping (#2219) 2022-03-10 16:16:53 +01:00
Erik Jan de Wit
c72a9bbf06
Removed the need to refresh the page (#2217) 2022-03-10 11:47:04 +01:00
Erik Jan de Wit
47a8c25c99
Catch 403 when only query-clients is allowed (#2182) 2022-03-10 11:46:42 +01:00
Erik Jan de Wit
3bdb8ce80f
Remove capabities step from wizard for SAML (#2191) 2022-03-09 17:45:53 +01:00
Erik Jan de Wit
62c13adda7
Fixed title and link to page (#2183) 2022-03-09 17:44:43 +01:00
Erik Jan de Wit
37d1087e7e
Use string[] directly removed need for converstion (#2175) 2022-03-09 17:42:23 +01:00
Jenny
ae133d675b
Clients -> Roles Tab: Adds Role Tests (#2174) 2022-03-09 17:41:45 +01:00
Erik Jan de Wit
efb3a36d32
Fixed getting text from JSX element (#2193) 2022-03-08 17:21:38 +01:00
Erik Jan de Wit
c88628d4f7
Removed 'revocation' section when client is SAML (#2192) 2022-03-08 10:53:25 +01:00
Erik Jan de Wit
1104f9ee20
Added bind type dialog (#2173) 2022-03-07 18:36:52 +01:00
Erik Jan de Wit
e3c0bb82a1
Added missing groups claim field (#2170) 2022-03-07 18:08:46 +01:00
Erik Jan de Wit
01ab5b12e0
Added and removed saml fields (#2168) 2022-03-07 18:08:14 +01:00
Erik Jan de Wit
a6cdb489b2
Removed file preview panel from keys provider (#2197) 2022-03-07 15:40:39 +01:00
agagancarczyk
9d376ebcde
User Credentials -> Draggable user credentials (#2131)
* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* added tests - wip

* added test

* draggable rows - wip

* feedback

* fixed position of reset credential btn

* fixed position of reset credential btn

* Remove unnecessary key props

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-03-07 14:32:34 +00:00
Erik Jan de Wit
a84701fe5c
added can select all checkbox (#2185) 2022-03-07 15:28:59 +01:00
Erik Jan de Wit
7d2abf0a9b
Change the way clients are stored in the form (#2184) 2022-03-07 15:28:42 +01:00
Erik Jan de Wit
2cb4fcc29d
Hide clustering section when not publicClient (#2186) 2022-03-07 15:28:26 +01:00
Erik Jan de Wit
dd35ccb9bf
Reset the form when the type is changed (#2189) 2022-03-07 15:27:10 +01:00
Erik Jan de Wit
663e96d000
Added a way to clear filters for non custom search (#2194) 2022-03-07 15:25:59 +01:00
Erik Jan de Wit
5dc2450b01
Remove authorization tab when disabled (#2181) 2022-03-07 14:49:58 +01:00
Erik Jan de Wit
b7ea8629a2
Refactored the way we show time using Intl (#2178) 2022-03-07 14:49:38 +01:00
Erik Jan de Wit
1b6d679d89
Added missing fields (#2163) 2022-03-07 14:42:06 +01:00
ikhomyn
cf695626a6
fixed msg error when clientScope created with whitespace (#1997) (#2162) 2022-03-06 16:26:52 +01:00
Erik Jan de Wit
ca350380fb
Change local development and ci to quarkus (#2115) 2022-03-06 16:25:37 +01:00
Erik Jan de Wit
e486a189c0
fix for value === 0 (#2199) 2022-03-06 12:20:51 +01:00
Jenny
bbc0bcf8b2
Add new capability configs and tests (#2164)
* add checkbox fields, more tests

unskip test

fix beforeEach

add front channel logout configs

set default to true

set default to true

fix console warning and conditionally render url field

show frontchannel settings under logout settings if OIDC client

PR feedback from Jon

* fix clients test

* resolve console warning

* addCapabilityConfigs
2022-03-02 16:59:37 -05:00
Erik Jan de Wit
b8cc2f5d7b
added missing field (#2169) 2022-03-02 22:38:52 +01:00
Jenny
741bc0d195
Add "always display" switch (#2165)
* add always display switch

* add optional param to fillClientData

* add frontchannelLogout to SAML settings

* fix test
2022-03-02 11:08:01 -05:00
Jon Koops
0152e5868d
Add form for User Profile attribute groups (#2021)
* Add form for User Profile attribute groups

* Add breadcrumbs to create and edit pages

* Add hints to form fields

* Link directly to details from overview

* Disable name field when editing

* Disable adding annotations when not valid
2022-03-01 06:44:42 +01:00
Jenny
baf2380d1e
Cypress tests: users (#2148)
* add users tests

* delete multiple users from list test

* users from search bar

* remove unnecessary its

* fix group test

* force add group click
2022-02-28 18:48:52 +01:00
Erik Jan de Wit
5c64ab6a4a
refacored the keys tab removed duplication (#2146) 2022-02-28 16:22:00 +01:00
ikhomyn
17c0eb801c
* fixed Consent screen text was not shown (#2145) 2022-02-25 18:26:07 +01:00
Erik Jan de Wit
d46263d6c6
changed to number input to allow for blank (#2138) 2022-02-24 17:12:54 +01:00
Jon Koops
07098c3f5a
Fix realm settings events tests (#2144) 2022-02-24 12:44:40 +01:00
ikhomyn
36bb8e2ecd
fix new client scope default type value (#2139) 2022-02-24 12:43:09 +01:00
Jenny
72268bb896
Fix associated roles table (#2136) 2022-02-23 18:46:52 +01:00
Jenny
ecd65b3ce7
Username field (#2135) 2022-02-23 15:46:56 +01:00
Erik Jan de Wit
2d55809caf
added the missing example code blocks (#2103) 2022-02-23 15:46:26 +01:00
Erik Jan de Wit
6a4e490928
more robust links out from events (#2133) 2022-02-23 15:28:59 +01:00
Erik Jan de Wit
bda591fb0d
added better / more realm role tests (#2119) 2022-02-23 12:05:38 +01:00
Jon Koops
06de428848
Add 'useSetTimeout' hook to manage timers (#2134) 2022-02-23 11:29:50 +01:00
Erik Jan de Wit
6ef3dc16f5
removed not working filter option (#2067) 2022-02-22 14:30:18 +01:00
ikhomyn
83d9018f6d
new Client->details->ClientScopes and ClientScopes tests (#1967) 2022-02-22 13:46:49 +01:00
Erik Jan de Wit
27ed3e40fe
Added missing fields (#2047) 2022-02-22 12:22:29 +01:00
Jenny
816d2b5221
make name required (#2100) 2022-02-21 19:13:25 +01:00
Jenny
41d58ab1b3
remove export button (#2096) 2022-02-21 18:23:44 +01:00
Stan Silvert
b892c49436
Fix bugs when admin has limited roles. (#2098) 2022-02-21 18:00:41 +01:00
Erik Jan de Wit
10b53617a0
removed components that don't adhere to server configuration (#2091) 2022-02-21 17:30:57 +01:00
Erik Jan de Wit
c84c983415
changed how errors are displayed (#2066) 2022-02-21 17:06:35 +01:00
Erik Jan de Wit
35ef6aff88
Added new / missing fields (#2035) 2022-02-21 16:43:23 +01:00
Erik Jan de Wit
d5909709b7
remote client-scopes and mappers for bearer only (#2065) 2022-02-21 16:20:24 +01:00
Erik Jan de Wit
f3de9464f6
async loading group can be undefined (#2068) 2022-02-21 15:58:28 +01:00
Erik Jan de Wit
627571dbf4
fixed attribute name (#2048)
fixes: #1382
2022-02-21 15:28:04 +01:00
Erik Jan de Wit
0065e9c7c2
fixing labels in case of SAML (#2111) 2022-02-21 14:55:02 +01:00
Jenny
9fa1c1303f
Add screens for rsa-enc-generated type (#2052)
* add screens for rsa-enc-generated type

* update tests
2022-02-21 13:19:41 +01:00
Erik Jan de Wit
cf6413af41
initial version of dedicated client scope (#2000) 2022-02-21 13:14:20 +01:00
Erik Jan de Wit
d1fd7a2f2e
removed unusable providerId (#2108) 2022-02-18 15:06:45 +01:00
Erik Jan de Wit
9eacd55edf
fixed logo locations (#2112) 2022-02-18 12:41:44 +01:00
Jenny
14ab0ceacb
Fix policy profiles (#2120) 2022-02-18 11:51:03 +01:00
Erik Jan de Wit
3bf43f15c0
removed login settings section for baerer only (#2064)
fixes: #1504
2022-02-17 19:41:05 -05:00
Erik Jan de Wit
d56f805a4e
added missing fields: (#2049)
* `User Refresh Tokens`
* `Use Refresh Tokens for Client Credentials Grant`

as stateted in #1385
2022-02-17 16:40:09 -05:00
Jenny
fa0e162c0b
Clients(authorization -> evaluate): Adds expandable results table (#2004) 2022-02-17 17:03:18 +01:00
mfrances17
e8e64798ea
Add componentId to LDAP provider test connection/authorization (#2038)
* add componentId to test calls and fix help ids

* rm ID default
2022-02-17 09:43:52 -05:00
Erik Jan de Wit
6427a15d1b
set default for allowCreate and readonly for select (#2034)
fixes: #1939
2022-02-17 09:42:35 -05:00
Erik Jan de Wit
ebeceefcbf
added missing fields to saml details page (#2033)
fixes: #1945
2022-02-17 07:51:32 -05:00
Erik Jan de Wit
5413a87011
remove child of sub flow instead of flow itself (#2069)
fixes: #1963
2022-02-16 14:04:43 -05:00
Erik Jan de Wit
f8b3595344
fixed test if value is set (#2092)
fixes: #1386
2022-02-16 13:08:23 -05:00
Aboullos
5227115f05
Add Clients tests, fix notification message and stabilize tests (#1999)
* Add Clients tests and fix notification message

* Remove TODO message

* Add waits and refactor

* Refactor and fix tests in realm settings

* Fix lint

* Refactor, fix tests and add stability

* Refactor and stabilize tests

* Stabilize tests

* Fix Realm settings event test and stabilize

* Set confirmModal to always force click

* Add force click and wait

* Fix masthead test

* Modify cypress.json

* Modify realm dropdown selector

* Revert hook changes
2022-02-16 17:34:54 +01:00
Erik Jan de Wit
c0a9b5cebc
Made form readonly and fixed initialisation (#2070)
* add the ablity for dynamic component to become
disabeled when used in a <FormAccess component

* add ability to manually make form readonly

* added readonly + fixed form initialize

fixes: #1898

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-16 09:53:45 -05:00
agagancarczyk
a6904be9ff
Realm-settings -> User Profile -> Attributes (#2107)
* attributes tab - wip

* attributes tab - wip

* attributes tab - wip

* attributes tab - wip

* added dropdown for each attribute row

* added kebab logic

* added delete dialog - wip

* added delete dialog - wip

* added delete dialog - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* refactored draggable rows

* refactored draggable rows

* added tests

* added tests

* refactor

* refactor

* refactor

* renamed css file to realm-settings-section.css

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-02-16 11:39:08 +00:00
Jenny
42d8c31e84
fix mapper table bugs (#2093)
* fix mapperTableBugs

* use link with button

* add props
2022-02-15 14:42:04 -05:00
Jenny
158bd07398
index on authEvaluateTab: f0a2494d Add nexus profile for releases (#1704) (#1961)
auth evaluate wip

wip auth evaluate tab

add identity information and permissions

help text and wip evaluate

wip contextual attributes

wip contextual attributes

add conditional dropdown for auth method

wip resource fields

scopes and context inputs working

fix resources error and update onChange

package-lock

cleanup: remove comments and log stmts

add conditional fields when applyToResourceType is true

package.json from main

PR feedback from Erik

Co-authored-by: Erik Jan de Wit <edewit@redhat.com>

Update src/clients/authorization/AuthorizationEvaluate.tsx

Co-authored-by: Erik Jan de Wit <edewit@redhat.com>

handleSubmit

remove log stmt

fix cypress test

PR feedback from Erik

try fixing policies test

PR feedback from Jon

Co-authored-by: Jon Koops <jonkoops@gmail.com>

PR feedback from Jon

rename id

revert client policy test

reset

add trigger

authEvaluateReset

conditionally render based on type

Apply suggestions from code review

Co-authored-by: Jon Koops <jonkoops@gmail.com>

PR feedback

remove controller

Update src/components/attribute-input/AttributeInput.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

PR feedback

Update src/clients/authorization/AuthorizationEvaluate.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

remove reset
2022-02-15 12:52:46 -05:00
mfrances17
065aec9424
Fix console error on landing page (#2053) 2022-02-13 19:00:50 +01:00
Erik Jan de Wit
5fd344a7bd
Added scope typed permission screen (#1933)
* added scope type permission

* review comments

* Update src/clients/authorization/PermissionDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/ScopeSelect.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* PR review

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-10 09:23:23 +01:00
Jenny
5968e1a7ee
Clients(Authentication): Adds "Export" tab (#1937) 2022-02-09 23:37:31 +01:00
Erik Jan de Wit
8de96be98b
Refactored user credentials into seperate components (#2024) 2022-02-09 15:39:10 +01:00
Erik Jan de Wit
90199db346
Added default group tab to user registration (#1965) 2022-02-09 12:46:58 +01:00
mfrances17
f9d3f9dfa7
Add priorities to User Federation (#2005) 2022-02-09 10:16:10 +01:00
Erik Jan de Wit
d4b1230260
changed to use route functions (#1919)
fixes: #1196
2022-02-08 17:10:46 -05:00
Erik Jan de Wit
b4738bf897
handle error code < 500 in error handler (#1916)
* handle error code < 500 in error handler

also:
fixes: #378

* Update src/context/RealmsContext.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* fixed import

* fixed tests

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-08 17:10:27 -05:00
Erik Jan de Wit
9d9388a7ea
Removed un-nessary casts (#2030) 2022-02-08 14:57:04 +01:00
Jon Koops
d85ff6e9be
Re-use User Profile logic from shared context (#1951) 2022-02-07 12:49:47 +01:00
Sebastian Rose
7dfa1a8b19
Fix message for access token response claim in new admin ui (#2002)
* KEYCLOAK-19329 Fix message for access token response claim in new admin ui

Fixes #1993

* fixed fomatting

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2022-02-04 10:38:18 +01:00
Erik Jan de Wit
6a970e6cb7
updated and fixed user test (#1956)
* updated and fixed user test

* Update cypress/integration/users_test.spec.ts

* fixed the confirm button test id

* fixed tests

* fix

* removed unused refresh

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2022-02-02 12:44:52 +01:00
Jon Koops
b9224862de
Replace Lodash with it's ESM variant (#1990) 2022-02-02 11:33:57 +01:00
Erik Jan de Wit
8b0327fa2c
Changed to use routable tabs (#1934)
* Changed to use routable tabs

* fixed tests
2022-01-31 08:20:35 +01:00
Erik Jan de Wit
b9e79b6d75
make all sub tabs routeable tabs (#1954)
* make all sub tabs routeable tabs

closes: #1507, closes: #1204

* fixed tabless route
2022-01-31 08:19:44 +01:00
Erik Jan de Wit
db63cdd61c
Removed waits from realm test (#1906) 2022-01-24 15:17:55 +01:00
Erik Jan de Wit
c4724b21c8
added permission search (#1890) 2022-01-24 15:17:32 +01:00
Jenny
dea54e674a
Clients: Authorization -> Evaluate tab (#1861) 2022-01-23 21:21:19 +01:00
Erik Jan de Wit
109c255d90
Added the policy screens (#1884)
* initial policies tab

* added initial edit create screen

* removed switch in favour of mapping list

* added pickers

* added groups

* added regex

* added role select component

* added time

* added js type

* fixed create route

* fixed details

* added tests

* changed table header to required

* added user type

* added missing validation message
2022-01-21 15:10:36 +01:00
Jenny
3f7a912c2a
Realm settings: Return user to Policies subtab (#1823)
* add function to go to policies subtab

* use routable tabs

* use new defaultLocation prop

* rebase, lint, and tests

* unskip

* fix cancel test
2022-01-20 10:34:58 -05:00
Erik Jan de Wit
bd28a912dd
optimized realm loading and added current realm (#1891) 2022-01-20 11:20:35 +01:00
Erik Jan de Wit
d5ecda9e74
added links to permission create (#1885) 2022-01-19 11:11:40 +01:00
Jon Koops
884102d83b
Make 'User Profile' tabs routable (#1862) 2022-01-19 10:41:52 +01:00
Jenny
b2b61c26ef
Fixes localization 500 error (#1858)
* fix localization crash

* add optional chain on themeTypes object

* add comment
2022-01-18 18:48:32 -05:00
Jenny
105d0dffb0
Adds selectable attribute functionality (#1840)
* index on authEvaluateTab: f0a2494d Add nexus profile for releases (#1704)

auth evaluate wip

wip auth evaluate tab

add identity information and permissions

help text and wip evaluate

* wip contextual attributes

* wip contextual attributes

* add conditional dropdown for auth method

* key and value can be saved now

* wip selectable save

* selectable attribute input save success

* changes to AttributeInput only

* revert files to versions from master

* add back defaultContextAttributes

* set id

* delete autheval file

* remove isKeySelectable

* lift props

* localize names and separate dropdown from the other attribute inputs

* remove log stmt

* add placeholder, return implicitly

* fix select/save

* reorder hook and conditional

* translate, fields/save working
2022-01-17 14:26:42 -05:00
Jenny
f489e186a1
Realm roles: fixes bug that prevents fields from being populated (#1839)
* realm role fields are now being populated

* remove setTimeout

* remove unnecessary conditional
2022-01-14 15:56:56 +01:00
Jon Koops
919d07c90b
Add RoutableTabs component for routed tabs (#1852) 2022-01-14 11:05:50 +01:00
Erik Jan de Wit
811131518e
Adds the permissions tab to the Authorization screen under clients (#1835)
* initial work on permissions

* search dropdown permissions

* permissions tab

* added empty state

* added new permssion detail route

* added detail screen

* fixed load

* added decision strategy

* added tests

* fixed class name and identeded the expandable table row
2022-01-12 11:01:54 -05:00
agagancarczyk
1f45fb89aa
Grouped multiple credentials (#1700)
* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* removed unnecessary css

* css cleanup

* feedback fixes

* table refactor

* table refactor

* table refactor

* table refactor

* table refactor

* small css fix

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-01-10 10:31:50 +00:00
Aboullos
04e86e9b0b
Update Clients tests (#1824) 2022-01-08 10:27:57 +01:00
Jon Koops
ee29a308e8
Add overview for attributes groups to realm settings (#1822) 2022-01-07 13:56:27 +01:00
Erik Jan de Wit
2d5c66b108
removed look ahead / back regex for safari (#1829)
fixes: #1806
2022-01-07 08:28:19 +01:00
Erik Jan de Wit
f1c7e5ecb3
Create custom user federation providers page (#1745)
* Create custom user federation providers page

fixes: #1722

* added breadcrumb
2022-01-05 12:06:53 -05:00
Erik Jan de Wit
33a1769c39
Finish the policy pages of the authentication section (#1713)
* added WebauthnPolicy tab to Plicies

* change for passwordless

* added tests

* removed use of useToggle
2022-01-05 11:18:49 -05:00
Erik Jan de Wit
e6d8ffb202
initial version of the scopes screen (#1750)
* initial version of the scopes screen

* added scopes edit details

* Update src/clients/authorization/MoreLabel.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* pr review

* Update src/clients/routes/NewScope.ts

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/Scopes.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/Scopes.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* merge fix

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-01-04 10:17:43 +01:00
Jon Koops
f0fc136672
Add toggle for user profile to realm settings (#1717) 2022-01-03 16:00:03 +01:00
Jon Koops
acaff98e10
Fix broken Cypress tests (#1802) 2022-01-03 08:11:07 +01:00
mfrances17
aa99ac7e2d
Add help url links (#1747)
* initial work

* add help urls for all main landing pages
2021-12-21 10:32:53 -05:00
Erik Jan de Wit
e4eebaffed
removed global css (#1724)
fixes: #1723
2021-12-21 10:30:27 -05:00
Jenny
05af84f20f
Edit message bundle values (#1663)
* message bundles are now editable

* update alert text in tests

* delete realm settings test

* remove updatedMessageBundles

* remove unused usefetch

* update lodash import

* fix add locale test

* fix add bundle

* cypress tests

* fix data test id on button

* remove unused isAgtive prop

* fix lint errors

* unskip tests

* refactor KDT to Table with PaginatedToolbar

* unskip tests

* uncomment

* revert KDT

* remove unused onSelect

* Apply suggestions from code review

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* PR feedback

* PR feedback

* remove useEffect

* fix localization test

* rewrite localization test

* switch test

* unskip

* force

* PR feedback

* package lock

* remove true

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-21 07:34:44 +01:00
Marco
2276311334
Credentials Reset Flow (#1699)
* Add credential reset modal

* Add i18n labels

* Refactor to align with marvelapp mockup
TODO: tests

* Add e2e tests

* Implement code review change requests
Add menuAppendTo to CredentialResetActionMultiSelect -> Select component
Add optional menuAppendTo prop to TimeSelectorComponent
Refactor CredentialsPage constructor
2021-12-21 07:22:44 +01:00
Erik Jan de Wit
a473a0b07f
added import and save functions to resource tab (#1676)
* added import and save functions to resource tab

* added test

* fixed the test
2021-12-16 17:31:17 +01:00
Erik Jan de Wit
97641e51cb
changed to use Dynamic components instead (#1662)
* changed to use Dynamic components instead

* fixed merge errors

* fixed PR review issues
2021-12-16 17:24:22 +01:00
Jenny
64ee1957c8
modal fixes for predefined mappers (#1701)
* modal fixes for predefined mappers

* remove log stmt

* Update src/client-scopes/add/MapperDialog.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-15 13:37:04 -05:00
Erik Jan de Wit
67d2c8617f
Changed the idP mapper form to use the new Dynamic forms (#1641) 2021-12-14 23:46:19 +01:00
Erik Jan de Wit
920ac1dfe3
fixed merge error (#1710) 2021-12-14 16:11:23 +01:00
Erik Jan de Wit
e8f335f199
changed all the help items (#1683) 2021-12-14 15:56:36 +01:00
Erik Jan de Wit
d4c50f6218
added otp policies screen (#1665) 2021-12-13 11:39:41 +01:00
Jenny
efa06cb329
fix client scopes mapper labels (#1678) 2021-12-10 13:27:04 +01:00
ikhomyn
383673fc1a
Fix. 1359-Can't view all scopes. (#1675) 2021-12-10 13:24:26 +01:00
Stan Silvert
6250ccdaef
Complete partial import functionality. (#1644)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-10 11:53:21 +01:00
Erik Jan de Wit
242c1d8445
better form convert (#1640)
* better form convert

* fixed other forms

* changed to use npm package

* better form convert

* merge fix

* fixed mapper test
2021-12-08 16:08:42 +01:00
Jenny
1f568d8888
Fix modal title in User Fed -> hardcoded-ldap-mapper (#1643)
* fix hardcoded ldap modal

* groups section from master

* revert groups onclick
2021-12-08 09:16:45 -05:00
Jon Koops
d493aa69ca
Show toolbar when filtering events results in an empty list (#1633) 2021-12-07 17:27:48 +01:00
alevid99
51d8038a5c
Added role mapping tab to group detail page (#1638)
* feat(group): added role mapping tab

feat(groups): fixed members tests

* Add correct role mapping label

* Use composite group mappings

Co-authored-by: Marco Cesi <sq@iamsquare.it>
2021-12-07 13:56:25 +01:00
Jon Koops
7cef4ae2d4
Trim names of client, realm role, user and group before saving (#1639) 2021-12-06 17:32:52 +01:00
Jon Koops
e53c7744a1
Trim name of client scope before saving (#1635) 2021-12-06 13:20:29 +01:00
agagancarczyk
4d4dfe0308
Multiple credentials (#1642)
* fixed user label editing bug

* fixed user label editing bug

* feedback

* fixed table

* fixed opening edit input per row

* fixed opening dropdown per row

* fixed closing dropdown per row

* feedback fixes

* added set password btn into credentials table

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-12-06 09:52:05 +00:00
Jon Koops
d7973a8008
Wait for group to be deleted before navigating (#1634) 2021-12-03 12:16:07 +01:00
agagancarczyk
72c34e0d46
Fix/edit user label (#1631)
* fixed user label editing bug

* fixed user label editing bug

* feedback

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-12-02 10:35:49 +00:00
Erik Jan de Wit
bc8ffed934
added import dialog for authorization resources (#1604) 2021-12-01 12:05:24 +01:00
Erik Jan de Wit
de1d677cc1
initial version of the password policies (#1601) 2021-12-01 10:24:46 +01:00
Erik Jan de Wit
0bbd4ddad1
Initial version of the create and edit resouce screen (#1573)
* Initial version of the create and edit resouce screen

* refactored and fixed the attributes form

introduced a new component that can be used more easily

* Update src/components/json-file-upload/FileUploadForm.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/components/attribute-form/attribute-convert.ts

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/ResourceDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/ResourceDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/ResourceDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* PR review

* fixed tests

* PR review comments

* resourceId is optional

* Update src/components/attribute-form/attribute-convert.ts

Co-authored-by: Jon Koops <jonkoops@gmail.com>

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-01 08:58:25 +01:00
agagancarczyk
93ee81b6af
User label cred edit (#1624)
* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* added deleting credentials

* replaced DataList with Table

* added reset password - wip

* added reset password

* added show data dialog - wip

* added show data dialog - wip

* added password data dialog

* added few translations

* added sorting to password data

* tidied up

* clean up rows code

* feedback fixes

* editanle user label - wip

* editanle user label - wip

* editable user label - wip

* editable user label - wip

* editable user label - wip

* editable user label - final

* added extra check for credentialId

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-30 16:18:47 +00:00
Jon Koops
61b2689864
Add useToggle hook to manage toggleable state (#1600) 2021-11-30 14:07:44 +01:00
mfrances17
31e1415758
Fix role-ldap-mapper defaults (#1578)
* fix retrieve strategy

* jenny review comments
2021-11-29 09:07:43 -05:00
Erik Jan de Wit
f4f52ad2c8
Added my PR review comments after the merge (#1605) 2021-11-29 13:51:31 +01:00
Jon Koops
74af12b2e2
Implement UXD feedback for Admin UI version (#1602)
* Implement UXD feedback for Admin UI version

* Align text further
2021-11-26 11:28:00 +01:00
Jenny
d08b55ae9a
Realm settings(client policies): add/edit client-updater-source-groups condition (#1577) 2021-11-24 17:19:28 +01:00
Jenny
17d9872c04
Realm settings(client policies): Add switches to client policies table (#1595) 2021-11-24 17:19:02 +01:00
agagancarczyk
25030a790f
User credentials (#1597)
* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* added deleting credentials

* replaced DataList with Table

* added reset password - wip

* added reset password

* added show data dialog - wip

* added show data dialog - wip

* added password data dialog

* added few translations

* added sorting to password data

* tidied up

* clean up rows code

* feedback fixes

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-24 15:37:30 +00:00
Jenny
999b502d44
Realm settings(Client policies): Update client-scopes condition to match new design (#1575) 2021-11-23 15:59:04 +01:00
Jenny
0b73d51412
Realm settings(Client policies -> conditions): Update client-roles condition to match new design (#1532)
* wip client roles select field

WIP multivalued roles component

wip client roles select: multivalued rows component

wip client roles select

role multi select is working :)

update client roles select to use multivalued select as per new design

delete comments

remove unused css

update cypress tests

revert to original

remove duplicates

add isCreateable

* PR feedback

* small refactor

* change to use orderBy

* use localeCompare

* fix tests

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-11-22 07:41:43 -05:00
Jon Koops
71350cacd5
Show exact commit hash of Admin UI in interface (#1572) 2021-11-22 12:41:12 +01:00
Erik Jan de Wit
bb46594d84
filter out unknown mappers (#1559) 2021-11-22 11:32:26 +01:00
mfrances17
7105bb9917
Fix default values for group and role mappers (#1511)
* fixed defaults for group and role mappers

* incorporate jon PR comments
2021-11-19 15:01:14 +01:00
Jenny
0b95598411
delete functionality and do not display current role in modal (#1543) 2021-11-19 11:55:52 +01:00
mfrances17
2c9a8657df
add correct help string (#1553) 2021-11-18 15:05:39 -05:00
mfrances17
a96f44a9fe
fix defaults and help for full name mapper (#1552) 2021-11-18 17:46:11 +01:00
Erik Jan de Wit
b5843b899b
enable user management with limited permissions (#1558) 2021-11-18 17:45:56 +01:00
mfrances17
c8197a67d0
Show/hide principal attribute field correctly (#1561) 2021-11-18 16:34:02 +01:00
mfrances17
b071724329
fix pass subject and add 2 missing fields (#1554) 2021-11-18 15:12:41 +01:00
Jenny
4959c3f0ca
Update to PF 4.159.1 (#1560)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-18 15:11:41 +01:00
Jon Koops
ff4f58404a
Fix Cypress tests (#1569)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-11-18 13:55:21 +01:00
Jon Koops
d591e0d4a4
Remove hack for mounting JSON editor (#1565) 2021-11-17 12:45:29 +01:00
Erik Jan de Wit
15baa43cfb
Added initial "Authorisation" tabs Settings and Resources (#1524) 2021-11-17 09:27:56 +01:00
Erik Jan de Wit
ede8db53a0
Added default role tab to realm settings (#1497)
* added user registration tab to realm settings

* added keycloak spinner

* fixed routing from all role tabs

* Update src/realm-settings/RealmSettingsTabs.tsx

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

* changed tab name to "associated-roles"

* removed useless key attribute

* removed unnessary variable

* fixed pagination

* rebased

* fixed default role type

* fixed create realm role

* fixed helpItem forID

* fixed test

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2021-11-16 12:10:10 +01:00
Erik Jan de Wit
ec5acf65ae
don't call onchange when contents is empty (#1557) 2021-11-16 11:52:33 +01:00
Erik Jan de Wit
9b3cd978c3
fixes: #1514 (#1551) 2021-11-15 08:30:53 +01:00
mfrances17
3b86616739
readonly default based on mapper type (#1534) 2021-11-12 10:09:08 -05:00
Jon Koops
c61ba73781
Add user profile tab to realm settings (#1509) 2021-11-12 10:04:05 -05:00
Jon Koops
d7362a97a0
Split realm context into two (#1523) 2021-11-11 17:04:04 +01:00
agagancarczyk
2b45a83109
Event listeners (#1533)
* fixed a breadcrum for edit profile

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* executor details - wip

* fixed executors list

* fixed multivaluedList and List components

* fixed displaying default vals for global profile executors, fixed unclicking executors without congigs for global profiles

* added edit executor

* improved edit executor

* added tests for editing executors

* renamed obj

* skipping client policies tests as unstable

* feedback fixes

* fix multiValuedlist defaults - wip

* fixed defaultValues for multiValuedList

* resolved and fixed conflict for test

* added event listeners

* added event listeners

* added success and error mssgs for event listeners saving

* added tests for event listeners

* added tests for event listeners

* improved error mssg

* fixed events tests as LOGIN type no longer available

* uncommented test, but using .skip

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-11-11 12:18:50 +00:00
Erik Jan de Wit
c09f57d7b0
update the admin client to the latest version (#1522)
* update admin client to latetst

* removed type workarounds
2021-11-10 10:46:12 -05:00
agagancarczyk
4e05f0c57e
Executor details (#1499) 2021-11-10 15:26:43 +01:00
mfrances17
50548491f5
add missing field and change default (#1512) 2021-11-10 10:56:39 +01:00
Jenny
c8d4effb34
Realm settings(Client policies -> policies): Add switch for enabling/disabling policy (#1495)
* add switch for enabling/disabling policy

fix tests

* testing duplicate policy test with added wait

* unskip tests

* ccomment out JSON policies test
2021-11-09 14:36:27 -05:00
Jenny
0565f6a482
add create client policy form; WIP (#1488)
add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

editClientPolicy

edit client policy

add client policy conditions form

fix bug in create form

remove comment

update help text

fixes

breadcrumbs

add support for adding multiple conditions, deleting conditions, and list conditions in data table

clean up names

add delete functionality to conditions form

PR feedback from Jon

useMemo for conditions

remove comments and logs

remove unused hook

PR feedback from Jon

messages

rename message

rebase

remove duplicate value

fixed multi select bug

conditionConfigs wip

add all config fields, labels, and help text for condition types

wip config POST

config post is working

fix bug in multiline string POST

fix any client empty config

client scopes config wip

fix config settings for client-updater-context

fix client access type config

clean up configuration conditionals

add aria label to resolve critical axe issue

Apply suggestions from code review

Co-authored-by: Jon Koops <jonkoops@gmail.com>

address PR feedback from Jon

fix undef error

wip edit condition configs

fix import

wip edit configs

wip edit condition configs

populate all multiline input fields with data from server

update functionality

condition configs done

update route and delete comment

fix client updater context

add tests

add test for editing condition

remove  comment

fix test

unskip tests

need optional chain for cypress test

fix breadcrumb
2021-11-09 13:27:25 -05:00
Jon Koops
386201595b
Use route functions for navigation in groups (#1474)
* Use route functions for navigation in groups

* pass testid to link
2021-11-09 12:53:06 -05:00
Jon Koops
c31b357429
Ask for confirmation before unlinking users (#1477)
* Ask for confirmation before unlinking users

* Refresh data after saving
2021-11-09 09:28:03 -05:00
Erik Jan de Wit
16042dd1f6
removed useEffect data load instead uses fetch (#1460)
* removed useEffect data load instead uses fetch

fixes: #1025

* fixed the test
2021-11-09 09:14:54 -05:00
Erik Jan de Wit
890d322312
Refactored dynamic components a bit more (#1462)
* moved to component folder

* replaced iteration with component

* fixed merge error

* renamed file

* tried to improve the test

* made field label lower case
2021-11-08 10:46:03 +01:00
Jenny
1faec22b4e
IDPs: go to edit form after save() (#1464)
* go to edit form on create

* tests passing locally
2021-11-04 07:24:47 +01:00
Jon Koops
3e591da25e
Use route functions for navigation in identity-providers (#1475) 2021-11-04 07:23:31 +01:00
Erik Jan de Wit
f4068debb8
can't remove english from supported locals (#1461)
fixes: #1059
2021-11-03 15:47:42 -04:00
Erik Jan de Wit
405d3310f3
add ability to leave multiple groups (#1431)
* add ability to leave multiple groups

fixes: #496

* With v21.0.0 a new JSON format v4 was introduced

* Update src/user/UserGroups.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/user/UserGroups.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* filter selected groups based on direct membership

* fixed test

* remove all the groups

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-03 09:45:37 -04:00
Jenny
8e6f6fb40b
add create client policy form; WIP (#1448)
add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

editClientPolicy

edit client policy

add client policy conditions form

fix bug in create form

remove comment

update help text

fixes

breadcrumbs

add support for adding multiple conditions, deleting conditions, and list conditions in data table

clean up names

add delete functionality to conditions form

PR feedback from Jon

useMemo for conditions

remove comments and logs

remove unused hook

add profiles modal wip

addprofiles wip

profiles wip

help text wip

add help text

remove comments

remove duplicate message

update data test id

PR feedback from Jon 1

Apply suggestions from code review

Co-authored-by: Jon Koops <jonkoops@gmail.com>

remove fragment

create policy detail attribute type

PR feedback from Jon 2

support editing profile name and description

add edit functionality and restore tests

Delete EditCondition.ts

Apply suggestions from code review

Co-authored-by: Jon Koops <jonkoops@gmail.com>

format

fix path

use route fn
2021-11-02 13:11:04 -04:00
Jon Koops
25d2e426b6
Use route functions for navigation in client scopes (#1472) 2021-11-02 15:59:22 +01:00
Jon Koops
d2b11312d8
Use route functions for navigation in authentication (#1473) 2021-11-02 15:58:56 +01:00
Jenny
bf236cb7f3
Client policies(conditions): add correct form fields for all condition types (#1430)
* add create client policy form; WIP

add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

editClientPolicy

edit client policy

add client policy conditions form

fix bug in create form

remove comment

update help text

fixes

breadcrumbs

add support for adding multiple conditions, deleting conditions, and list conditions in data table

clean up names

add delete functionality to conditions form

PR feedback from Jon

useMemo for conditions

remove comments and logs

remove unused hook

PR feedback from Jon

messages

rename message

rebase

remove duplicate value

fixed multi select bug

conditionConfigs wip

add all config fields, labels, and help text for condition types

wip config POST

config post is working

fix bug in multiline string POST

fix any client empty config

client scopes config wip

fix config settings for client-updater-context

fix client access type config

clean up configuration conditionals

add aria label to resolve critical axe issue

Apply suggestions from code review

Co-authored-by: Jon Koops <jonkoops@gmail.com>

address PR feedback from Jon

fix undef error

PR feedback from Stan

add util function

* fix import stmt

* revert change to route

* fix profile create values

* fix paths
2021-11-01 18:18:27 -04:00
mfrances17
8e5ce6aa34
disable vendor if provider exists (#1447) 2021-11-01 14:44:23 -04:00
Erik Jan de Wit
9c48bb4d90
refactor + use new composite role api (#1399)
* refactor + use new composite role api

* fixed types

* Update src/realm-roles/AssociatedRolesModal.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/realm-roles/AssociatedRolesModal.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/realm-roles/RealmRoleTabs.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* code review comments

* removed duplicate type

* route

* Update src/realm-roles/AssociatedRolesModal.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/realm-roles/routes/RealmRole.ts

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/realm-roles/AssociatedRolesModal.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* fix unused import

* fixed test

* fixed merge errors

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-01 13:29:52 +01:00
agagancarczyk
e22b27b471
added tests for editing client profile, creating and deleting executors (#1450)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-11-01 10:58:31 +00:00
Erik Jan de Wit
48a006e1fa
put shared logic into common component + fixes (#1415)
* put shared logic into common component + fixes

fixes: #1398

* removed conflicted name

* code review

* pr review comments

* update admin-client for better retrun types import
* use image file instead of encoded data:uri

* fix package lock

* is typechecked to be string
2021-11-01 08:49:23 +01:00
Jon Koops
79f8452ab5
Normalize client attributes before saving (#1442) 2021-10-29 14:28:58 -04:00
mfrances17
861ed39dc1
Fixes for SAML identity provider principal type and allow create fields (#1377)
* principal type fixed

* add allow create switch

* change principalType condition to match value
2021-10-29 12:41:46 -04:00
Erik Jan de Wit
c96450ef61
make all routes lazy (#1445) 2021-10-29 18:11:06 +02:00
Jenny
9e5f711bea
Client policies(policies): Create, add, delete and list client profiles in existing policy (#1393)
* add create client policy form; WIP

add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

editClientPolicy

edit client policy

add client policy conditions form

fix bug in create form

remove comment

update help text

fixes

breadcrumbs

add support for adding multiple conditions, deleting conditions, and list conditions in data table

clean up names

add delete functionality to conditions form

PR feedback from Jon

useMemo for conditions

remove comments and logs

remove unused hook

add profiles modal wip

addprofiles wip

profiles wip

help text wip

add help text

remove comments

remove duplicate message

update data test id

PR feedback from Jon 1

Apply suggestions from code review

Co-authored-by: Jon Koops <jonkoops@gmail.com>

remove fragment

create policy detail attribute type

* PR feedback from Jon 1

* PR feedback from Jon 2

* add spinner to prevent loader from being called

* remove duplicate identifier

* fix and rename route

* rename route
2021-10-29 16:19:57 +02:00
Jon Koops
5e63bac12e
Implement partial realm export (#1441)
* Implement partial realm export

* Replace Switches with Checkboxes
2021-10-29 10:50:25 +08:00
alevid99
9e116daf62
Added possibility to manage array attributes (#1384)
* Added possibility to manage array attributes

* feat(attributes): added multivalue tests
2021-10-28 14:49:19 -04:00
Jenny
b80f0a3018
OIDC mapper bug fixes (#1439)
* mapper bug fixes

* change to toUpperCase()

* update data test id for regex switch

* fix cypress test
2021-10-28 10:51:26 -04:00
mfrances17
8f5fe27647
change clock skew to num (#1379) 2021-10-27 12:07:37 -04:00
Jon Koops
6cf586f447
Lazy load user tabs component to prevent circular dependencies (#1432) 2021-10-27 16:15:30 +02:00
Erik Jan de Wit
d0c6bc4cc1
fix issue by introducing toolbar for fedrated user (#1417)
* fix issue by introducing toolbar for fedrated user

fixes: #1416

* code review
2021-10-27 11:19:13 +02:00
agagancarczyk
56eb774dd3
Profile view update (#1357)
* added routing for viewing client profile

* added add executors form template

* added add executors form template

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* added adding excutors to profiles

* added displaying executors - wip

* added displaying executors - wip

* added navigation to client profile edit on executor creation

* replaced table with list for listing executors added

* added support for editing client profile

* added logic making executors with config links only

* added read only values for edit/view client temporarily

* added helpText for added executors listed in executors list

* added helpText for added executors listed in executors list

* added deleting executor from client profile

* fixed deleting client profile and fixed messages for delete modals

* fixed message for delete clinet profile modal

* combined delete dialogs for client profile and executor

* displaying global executors for global profiles, hiding add executor button

* fixed eslint issue

* fixed executors list

* added back button to global profile view/edit view

* fixed test

* added global batche and hid actions dropdown for global profiles

* fixed switch on/off labels

* fixed hide/display items for global and non-global profiles

* added isDirty

* feedback fixes

* feedback fixes

* feedback fixes

* feedback fixes

* feedback fixes

* feedback fix

* small refactor

* added name and removed unused state

* fixed executor creation

* fixed executor creation

* added saving edited client profile

* added saving edited client profile

* improved trash icon styles

* test fix

* Some code suggestions

* Some more code suggestions

* feedback fixes

* feedback fixes

* use find instead of filter

* feedback fixes

* added defaultValues for executors

* removed defaultValues for executors

* final feedback fixes

* minor fixes

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-26 16:16:19 -04:00
Jon Koops
5cdf35b538
Correct helpt text for removal of imported users (#1396) 2021-10-25 16:53:09 +02:00
alevid99
3fa13259e0
Added attributes tab to users (#1383) 2021-10-25 16:38:54 +02:00
Jenny
a5fd9dd0bf
Realm settings(Client policies): Add support for adding, listing, and deleting conditions (#1361)
* add create client policy form; WIP

add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

editClientPolicy

edit client policy

add client policy conditions form

fix bug in create form

remove comment

update help text

fixes

breadcrumbs

add support for adding multiple conditions, deleting conditions, and list conditions in data table

clean up names

add delete functionality to conditions form

PR feedback from Jon

useMemo for conditions

remove comments and logs

remove unused hook

PR feedback from Jon

messages

rename message

rebase

* remove duplicate value

* fixed multi select bug
2021-10-21 14:40:02 -04:00
Jon Koops
7c4f0149b2
Normalize regex attribute values before saving (#1381) 2021-10-20 17:53:44 +02:00
Erik Jan de Wit
acd8921b20
Added mapping tab to clients (#1375)
* initial version mapper tab for clients

* added missing client select component

* added test

* Update src/client-scopes/add/components/ClientSelectComponent.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/client-scopes/add/components/ClientSelectComponent.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* now uses adminClient type for client search

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-20 16:26:05 +02:00
Erik Jan de Wit
82c04d2e4a
added required actions tab (#1338) 2021-10-19 17:30:57 +02:00
Jenny
8ccc488bac
add create client policy form; WIP (#1312)
add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

update test file

replace hardcoded URL with path

fix tests

correct tab name

fix duplicates test

add create client policy form; WIP

add client policy tests

tests

createClientPolicyFormTests

lint

tests

remove comments

comment out json test

add empty state test

check reloading json policies

client policy tests are passing

all client policy tests passing locally
2021-10-19 10:31:27 -04:00
Jon Koops
405ae4875a
Do not save realm when testing e-mail connection (#1325)
* Do not save realm when testing e-mail connection

* Register email before testing connection
2021-10-14 17:08:42 -04:00
Erik Jan de Wit
0b4cb21134
added missing action menu on flow details (#1311) 2021-10-14 16:54:07 +02:00
Erik Jan de Wit
8f34e4a3e6
fixed key (#1345) 2021-10-14 12:30:49 +02:00
Jon Koops
01e6bfeef5
Mask private key when exporting SAML client (#1326) 2021-10-14 09:52:36 +02:00
Jenny
d22095fc03
Edit client policy (#1337)
* add create client policy form; WIP

add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

* rebase

* replace hardcoded URL with path

* fix tests

* editClientPolicy

* edit client policy

* rename test

* feedback from jon
2021-10-13 16:54:51 -04:00
Jon Koops
ef4d973a67
Add missing artifact fields to SAML endpoint configuration (#1328) 2021-10-13 00:15:19 +02:00
Jenny
001d4ed6d4
Create client policy form (#1309)
* add create client policy form; WIP

add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

* rebase

* update test file

* replace hardcoded URL with path

* fix tests

* correct tab name

* fix duplicates test
2021-10-12 11:03:56 -04:00
Erik Jan de Wit
60e4676ac8
added saml keys tab (#1308)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-12 11:28:55 +02:00
Jon Koops
bd7ca9a7fa
Add utility function to pretty print JSON (#1310) 2021-10-08 20:21:09 +02:00
Jenny
b942efc2aa
Delete mapper (#1307) 2021-10-07 12:08:29 +02:00