Commit graph

1270 commits

Author SHA1 Message Date
Stan Silvert
a0996cd91e
Fix evaluate screen when user does not have view-users access. (#2771) 2022-06-13 11:09:07 +02:00
Stan Silvert
f558052957
Miscellaneous fixes to coarse-grained authorization (#2766) 2022-06-13 11:07:53 +02:00
Erik Jan de Wit
36c5a671ea
added tag to make sure we override (#2783)
fixes: #2767
2022-06-11 16:13:06 +02:00
Christoph Leistert
78a8a4adc5
Closes #11851 Use new parameter useRealmDefaultLocaleFallback when fetching the realm localization texts (#2577) 2022-06-10 14:38:19 -04:00
Erik Jan de Wit
572259998f
Adding a subflow to a subflow didn't work (#2740) 2022-06-03 15:06:11 +02:00
Jon Koops
d6edaa1ee1
Add a 'Reset' button the the events search form (#2732) 2022-06-02 09:27:57 +02:00
Jon Koops
b6d71a25cc
Link security header help text to MDN (#2733) 2022-06-02 09:27:29 +02:00
Erik Jan de Wit
8885cd45c2
only select items from the list not rows (#2731)
fixes: #2730
2022-06-02 09:06:31 +02:00
Jon Koops
f14dd1f86e
Disallow deletion of restricted user attributes (#2734) 2022-06-02 09:04:11 +02:00
agagancarczyk
68e8a6fefc
removed action menu for create new client profile (#2728)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-06-01 14:21:29 +01:00
Jon Koops
f7ca1a5196
Remove arbitrary margin from bottom of forms (#2724) 2022-06-01 15:02:55 +02:00
Erik Jan de Wit
8202f363c5
Fixed toobar shown in graph mode (#2720) 2022-06-01 11:19:39 +02:00
Jon Koops
a7719d1ace
Move 'Sessions' tab before 'Permissions' tab (#2725) 2022-06-01 11:13:28 +02:00
Erik Jan de Wit
49b0170952
Fixed insets (#2723) 2022-06-01 11:12:47 +02:00
Erik Jan de Wit
219b60ff77
Changed to use one confirm dialog (#2722) 2022-06-01 11:12:30 +02:00
Erik Jan de Wit
152a62b72a
Improved search sub links / breadcrumbs (#2721) 2022-06-01 11:12:16 +02:00
Erik Jan de Wit
48f68358f4
Refactored scroll form so to easier hide section (#2697) 2022-05-30 13:07:33 +02:00
Jon Koops
0d0e086913
Use correct field for authentication of e-mail server (#2706) 2022-05-30 12:20:17 +02:00
Stan Silvert
5b559bcdbd
Fine grained clients (#2702) 2022-05-30 11:23:24 +02:00
Erik Jan de Wit
be000ff08c
Mappers are now sorted (#2700) 2022-05-30 11:23:12 +02:00
Thomas Darimont
876d705025
Use authServerUrl instead of authUrl to initialize Keycloak client (#2704) 2022-05-27 11:45:06 +02:00
Erik Jan de Wit
422c271da3
Added logout all sessions to user session tab (#2696) 2022-05-27 11:27:30 +02:00
Erik Jan de Wit
1fa1e0dc46
Added ipAddress column (#2695) 2022-05-27 11:27:17 +02:00
Erik Jan de Wit
66c1dfff5b
Removed logout settings for saml (#2694) 2022-05-27 11:27:05 +02:00
Erik Jan de Wit
ffae9b3072
Added missing default field (#2693) 2022-05-27 11:26:49 +02:00
Erik Jan de Wit
e92ed5b98c
Use endpoint for required actions (#2692) 2022-05-27 11:26:37 +02:00
Erik Jan de Wit
97d932d832
Added missing field (#2691) 2022-05-27 11:26:23 +02:00
Erik Jan de Wit
2153c98a7d
Removed unnessary /search from url (#2690) 2022-05-27 11:26:09 +02:00
Erik Jan de Wit
a1cba372d5
Removed stray console.log statement (#2689) 2022-05-24 14:06:24 +02:00
Erik Jan de Wit
f590deac7a
Moved button to top toolbar (#2665) 2022-05-24 11:16:43 +02:00
Erik Jan de Wit
0ef880412d
Found some small issues while creating the documentation (#2672) 2022-05-23 10:52:06 +02:00
Erik Jan de Wit
991393ddc8
Added workaround for overlapping property (#2654) 2022-05-19 15:44:08 +02:00
Erik Jan de Wit
e59c6754e9
Initial version secret rotation (#2646) 2022-05-18 11:22:30 +02:00
Erik Jan de Wit
d8d28e1d7c
Created more tests for the authentication flow (#2633) 2022-05-18 11:16:47 +02:00
Jon Koops
cc7ec1cf7f
Add 'Session' tabs to user and client details (#2655) 2022-05-18 11:16:20 +02:00
Erik Jan de Wit
9573b23831
Added missing namespace (#2651) 2022-05-18 10:52:35 +02:00
Erik Jan de Wit
2bf30c9203
Throw error when server context can't be loaded (#2635) 2022-05-18 10:51:29 +02:00
Erik Jan de Wit
80a398d2ac
value can be undefined see "local-date" (#2652) 2022-05-17 12:19:48 +02:00
Erik Jan de Wit
2e45c89edf
don't convert to string (#2653)
fixes: #2647
2022-05-17 12:19:18 +02:00
agagancarczyk
083848b4ac
Improved Learn More links (#2650) 2022-05-17 10:26:32 +02:00
Stan Silvert
f4cfb23a3c
Fix role-based authorization in Clients section. (#2632) 2022-05-17 09:52:19 +02:00
Erik Jan de Wit
0350a2ccf4
Locale edit shouldn't be disabled (#2626) 2022-05-17 09:51:12 +02:00
Erik Jan de Wit
dd0f747b45
change to only use alias in list (#2634)
fixes: #2620
2022-05-17 08:16:34 +02:00
Erik Jan de Wit
1bfee6425d
Fixed translations (#2627) 2022-05-13 12:34:27 +02:00
Erik Jan de Wit
5a18c76d75
Fixed the group move test by fixing the app (#2625) 2022-05-12 15:46:10 +02:00
Aboullos
5fd94d12b8
Add Service Account Tests (#2624) 2022-05-12 15:45:50 +02:00
Erik Jan de Wit
bb853874d8
Issue 2618 (#2623) 2022-05-12 10:09:15 +02:00
Erik Jan de Wit
18c610d12e
Use display name instead of alias if set (#2622) 2022-05-12 10:07:02 +02:00
Jon Koops
960da1b849
Replace text areas with KeycloakTextArea (#2617) 2022-05-11 11:46:14 +02:00
Jon Koops
9b0af12bd6
Fix client import form state (#2621) 2022-05-11 11:46:05 +02:00
Erik Jan de Wit
1eb33007c4
Issue 2580 (#2614) 2022-05-11 11:43:07 +02:00
Erik Jan de Wit
67c23444e9
Removed additional white space (#2615) 2022-05-11 11:42:46 +02:00
Erik Jan de Wit
37bf82bb99
Added delete action to the details screen (#2601) 2022-05-11 10:33:23 +02:00
Erik Jan de Wit
ccdd762d6d
Added delete action (#2600) 2022-05-11 10:33:11 +02:00
Erik Jan de Wit
783396acb9
Disable sync when import users is off (#2599) 2022-05-11 10:32:58 +02:00
Erik Jan de Wit
b8569db87c Don't render create header when editing 2022-05-11 10:32:40 +02:00
Jon Koops
98e1c8557e
Update PatternFly dependencies to latest version (#2613) 2022-05-10 16:39:49 +02:00
Erik Jan de Wit
e1639f3283
Added permissions tab for idp (#2597) 2022-05-10 11:50:00 +02:00
Stan Silvert
5427eaf6ff
Fine-grained permissions for groups (#2579) 2022-05-09 12:44:37 +02:00
Erik Jan de Wit
93088c5380
Sort enabled features (#2557) 2022-05-09 12:44:07 +02:00
Erik Jan de Wit
58112be510
Added dash when there is no data (#2576) 2022-05-09 12:42:11 +02:00
Erik Jan de Wit
24ec9fd60a
Added permission type to scope based permissions (#2575) 2022-05-09 12:41:43 +02:00
Erik Jan de Wit
1447a77dc1
Added tool tips on flow icons (#2573) 2022-05-09 12:41:20 +02:00
Erik Jan de Wit
d832891c06
Use flow type instead of flow name (#2570) 2022-05-05 09:47:46 +02:00
agagancarczyk
24f43d59ec
Fixed decision strategy not selecting properly (#2569) 2022-05-04 19:51:17 +02:00
Erik Jan de Wit
c2df6e7dfb
Skip already processed lines (#2568) 2022-05-04 15:09:16 +02:00
Luca Leonardo Scorcia
1c23a0f1a7
Fix #2560 SAML Broker: Add option to validate IdP Entity ID (#2561) 2022-05-04 10:40:58 +02:00
Erik Jan de Wit
3c55d72517
add permission: false to policy query (#2564)
* add permission: false to policy query

fixes: #2528

* fixed tests
2022-05-04 10:40:01 +02:00
Erik Jan de Wit
83371ce75b
fixed client lookup for non master realm (#2563)
fixes: #2562
2022-05-03 08:03:34 -04:00
Erik Jan de Wit
f4a7063852
Added pagination and filtering to dialog (#2526) 2022-05-03 12:42:24 +02:00
Erik Jan de Wit
2ac3a7457e
Added second class to override patternfly default (#2555) 2022-05-03 12:19:32 +02:00
Jon Koops
c8263c00e7
Update outdated links with redirects (#2558) 2022-05-03 07:56:42 +02:00
Erik Jan de Wit
a061ceb4f2
Changed to know where flow is used (#2532) 2022-05-02 16:51:05 +02:00
Erik Jan de Wit
d7187bd1e0 changed to Inherited column 2022-05-02 16:50:10 +02:00
Erik Jan de Wit
a15eb11d81 Removed unused column
fixes: #1758
2022-05-02 16:50:10 +02:00
Erik Jan de Wit
5ebb50816d
Added search and operational info (#2530) 2022-05-02 16:30:24 +02:00
Erik Jan de Wit
47c696edf9
Use password field + copy to clipboard button (#2524) 2022-04-29 14:42:00 +02:00
Erik Jan de Wit
b5b087e5a4
Added role permission tab (#2527) 2022-04-29 13:38:12 +02:00
Erik Jan de Wit
cf6e7b5bb2
small fix to prevent empty dialog (#2522)
* small fix to prevent empty dialog

this also makes the re-render better

fixes: #2521

* simplified using useMemo
2022-04-29 12:44:49 +02:00
Erik Jan de Wit
ee6f2f4a7d
no spinner when no have rights for realm load (#2515)
* no spinner when no have rights for realm load

fixes: #2504

* fixed empty state note

* default to search user

* Update public/resources/en/users.json

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2022-04-28 14:55:06 -04:00
Erik Jan de Wit
60a81c8e86
Initial version without filter (#2518) 2022-04-28 15:36:43 +02:00
Erik Jan de Wit
ebf56dacc0
Initial version of the group permissions tab (#2519) 2022-04-28 15:18:14 +02:00
Erik Jan de Wit
4349f19e24
Convert single array values to values (#2506) 2022-04-27 17:32:47 +02:00
Erik Jan de Wit
593d061224
Changed the load to also include the existing values (#2507) 2022-04-27 17:30:13 +02:00
Erik Jan de Wit
af0b704cf8
Load the different resource bundles from dynamically (#2409) 2022-04-27 17:29:57 +02:00
Erik Jan de Wit
49086653e1
Changed the way the table is updated (#2505) 2022-04-27 10:48:32 +02:00
Erik Jan de Wit
241e97364e
Added help icons for password policy fields (#2502) 2022-04-26 16:43:47 +02:00
Erik Jan de Wit
eb3d3714fc
Added user permission tab (#2501) 2022-04-26 12:11:17 +02:00
Erik Jan de Wit
7f197cf5ec
Added ability to query ldap capabilities (#2491) 2022-04-25 13:23:59 +02:00
Erik Jan de Wit
495c9e917d
Fixed link to client (#2489) 2022-04-22 10:48:47 +02:00
Stan Silvert
1c296a1641
Fine-grained permissions for user section. (#2451) 2022-04-21 17:03:48 +02:00
Jon Koops
d5f6aca82e
Replace text inputs with KeycloakTextInput (#2413) 2022-04-21 17:03:26 +02:00
Erik Jan de Wit
6a07c091b7
First and max need to requery (#2450) 2022-04-21 16:53:30 +02:00
Erik Jan de Wit
50ba699ab8
fixed error when data not found (#2449)
* fixed error when data not found

fixes: #2447

* change to useMemo
2022-04-20 15:10:30 -04:00
Jenny
709a9987ad
Add search and delete to key providers tests (#2374)
* add search and delete to key providers tests

* fix logic

* add tests to search provider types

* fix length val

* Skip failing test.

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2022-04-20 14:20:33 -04:00
Erik Jan de Wit
43c6564895
Changed to use the same form + rename (#2342) 2022-04-20 19:11:46 +02:00
Erik Jan de Wit
cc594aa00c
Added labels for loa properties (#2411) 2022-04-20 16:38:29 +02:00
Erik Jan de Wit
324ebdaf11
Added initial version of the client permission tab (#2452) 2022-04-20 11:42:24 +02:00
Erik Jan de Wit
898d609f51
Added tests for realm role attributes (#2391) 2022-04-20 11:29:35 +02:00
mfrances17
0dd9cacdd3
Adds tests for LDAP provider advanced and cache settings (#2338)
* adds ldap advanced and cache tests

* fixes issues from merges

* dont force close notification

* error msg differs
2022-04-14 13:07:28 +02:00
Erik Jan de Wit
4fc64e6915
Removes the already added validators after closing the dialog (#2435) 2022-04-13 15:18:26 +02:00
agagancarczyk
7418bca8f4
Realm-settings -> User Profile -> Create/Edit Attribute tests (#2410)
* added tests for creating new attribute

* added more tests

* removed temporary skips

* added more tests

* added more tests

* fixed typo

* fixed focus bug

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-04-11 15:00:08 +01:00
Stan Silvert
fcc514a12f
Avoid errors in Groups section. (#2414) 2022-04-11 11:22:43 +02:00
Jon Koops
4a7c0436cc
Move React Hook Form errors to formState (#2412) 2022-04-08 14:37:31 +02:00
mfrances17
818b8cdbb9
Adds LDAP searching tests (#2385) 2022-04-08 11:47:14 +02:00
Erik Jan de Wit
e681dbae4a
Enabled more tests (#2399) 2022-04-08 10:56:20 +02:00
Erik Jan de Wit
2d1baed0e9
Remove picked validators from list (#2405) 2022-04-07 16:35:17 +02:00
Erik Jan de Wit
36cf7022f5
Add id to the form (#2400) 2022-04-07 13:42:29 +02:00
mfrances17
0f48da11e7
Adds LDAP kerberos integration and synchronization tests (#2378) 2022-04-07 00:06:56 +02:00
dependabot[bot]
525d90c234
Bump @keycloak/keycloak-admin-client from 18.0.0-dev.8 to 18.0.0-dev.10 (#2390)
* Bump @keycloak/keycloak-admin-client from 18.0.0-dev.8 to 18.0.0-dev.10

Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 18.0.0-dev.8 to 18.0.0-dev.10.
- [Release notes](https://github.com/keycloak/keycloak-nodejs-admin-client/releases)
- [Changelog](https://github.com/keycloak/keycloak-nodejs-admin-client/blob/main/tsconfig.release.json)
- [Commits](https://github.com/keycloak/keycloak-nodejs-admin-client/compare/v18.0.0-dev.8...v18.0.0-dev.10)

---
updated-dependencies:
- dependency-name: "@keycloak/keycloak-admin-client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 16:08:30 +02:00
Jenny
77ef19e0e6
Add realm selector tests (#2362) 2022-04-06 11:21:04 +02:00
Jenny
bb226b52ff
Adds Realm Settings tests for general tab (#2336) 2022-04-05 21:34:21 +02:00
mfrances17
ef9d0ca822
Adds LDAP connection and general tests (#2376) 2022-04-05 21:33:51 +02:00
Erik Jan de Wit
4b150993a6
Fixed text of empty state (#2295) 2022-04-05 17:02:27 +02:00
Erik Jan de Wit
aaa22e3df0
fixes empty key value convert (#2370)
* fixes empty key value convert

* Update src/util.ts

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

* fix linting issues

* use some()

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-04-05 09:39:32 +02:00
Jon Koops
b40da16afd
Upload server log after running Cypress tests (#2341)
* Upload server log after running Cypress tests

* fix typos
2022-04-05 09:20:00 +02:00
mfrances17
e44103dda5
Use number input for max lifespan (#2333)
* changed max lifespan to number input

* fixes kerberos test
2022-04-05 09:18:57 +02:00
mfrances17
24fc696022
Fixes header and cancel when adding realm roles (#2327)
* fix header and cancel btn

* fix issue with clients
2022-04-05 09:17:50 +02:00
Jon Koops
23b311c552
Fix linting issues (#2383) 2022-04-01 11:46:46 +02:00
agagancarczyk
c0981a1bae
fixed cannot destructure property error (#2377)
* fixed cannot destructure property error

* fix

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-31 15:23:28 +01:00
agagancarczyk
4c70064bd4
Ream-settings -> User Profile -> Edit Attribute (#2343)
* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* moved form initialisation to central place

* fixed loading values

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2022-03-31 14:28:48 +01:00
Erik Jan de Wit
be2d7e268e
Added missing field (#2369) 2022-03-30 11:23:04 +02:00
Erik Jan de Wit
d2bac33d37
Changed to be disabled when not enabled (#2323) 2022-03-29 12:39:46 +02:00
Erik Jan de Wit
f3798324a3
Override when already set with default (#2283) 2022-03-29 11:23:26 +02:00
Erik Jan de Wit
6857d62545
added more missing fields (#2329)
fixes: #1385
2022-03-29 09:55:05 +02:00
Erik Jan de Wit
78bdf2d2ec
don't test ldap when form isn't valid (#2294)
* don't test ldap when form isn't valid

fixes: #1776

* changed to PF way of showing errors

* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx

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

* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx

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

* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx

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

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2022-03-29 09:49:43 +02:00
Erik Jan de Wit
e9707f0a87
sort mappers in alphabetical order (#2292)
fixes: #1821
2022-03-29 09:49:19 +02:00
Erik Jan de Wit
f04788028b
Fixed the filter dropdown (#2315) 2022-03-28 22:57:32 +02:00
Erik Jan de Wit
8b8f564c61
Added service account user link (#2322) 2022-03-28 22:56:18 +02:00
Jenny
86b3fb93a9
Client credentials: "Regenerate" button fix (#2337) 2022-03-28 22:54:15 +02:00
Jenny
0c628e2b7c
fix create user bug (#2317) 2022-03-28 15:05:33 -04:00
Jenny
3efffab55d
Realm settings(login tab): Add login tests (#2260) 2022-03-28 17:34:07 +02:00
Erik Jan de Wit
de32d5d163
Fixed small layout issue and set default label of password (#2286) 2022-03-28 15:32:06 +02:00
Erik Jan de Wit
74ecc18be0
Change button text to "set password" (#2287) 2022-03-28 15:31:51 +02:00
Erik Jan de Wit
219e239c89
Show baseUrl when rootUrl is not set (#2285) 2022-03-28 15:15:12 +02:00
dependabot[bot]
631f8320c5
Bump prettier from 2.6.0 to 2.6.1
* Bump prettier from 2.6.0 to 2.6.1

Bumps [prettier](https://github.com/prettier/prettier) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.6.0...2.6.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 12:55:21 +02:00
Erik Jan de Wit
bd82872282
Make the export tab tests more stable (#2339) 2022-03-25 12:19:15 +01:00
Erik Jan de Wit
b2d507a390
Added empty state to add scope dialog (#2291) 2022-03-22 12:58:49 +01:00
Erik Jan de Wit
e641af0b16
changed to use the SearchInput (#2314)
fixes: #1348
2022-03-22 12:16:24 +01:00
Erik Jan de Wit
b68ddc2843
put focus on the right field (#2296)
fixes translation keys as well
fixes: #1180
2022-03-22 12:16:02 +01:00
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