* 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>
* 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>
* 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>
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
* moved to component folder
* replaced iteration with component
* fixed merge error
* renamed file
* tried to improve the test
* made field label lower case
* 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>
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
* 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
* 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>
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
* 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
* correct form fields for UsernameTemplateImporter
wip tests
add username template importer type functionality
add create/edit functionality for username template importer SAML provider type
changes to helpText and title text
fix help text for mapper types
correct form fields for UsernameTemplateImporter
add fields
PR feedback and fix tests
fix test
add all saml mapper type fields
wip SAML mapper type fields
first draf SAML mapper type fields
tests
oidc changes with forms
tests
remove unused func
* fix tests
* remove unused vars
* client-add-executors: wip
* client-add-executors: added logic for deleting client from dropdown
* client-add-executors: wip
* client-add-executors: added edit profiles
* client-add-executors: added refesh client profiles
* client-add-executors: added cypress tests
* commented out test failing only in CI
* Update cypress/integration/realm_settings_test.spec.ts
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
* changed to arrow functions
* feedback fixes
* feedback fixes
* uncommented failing test to see if still failing and why
* test possible fix
* test fix
* test fix
* test fix
* client-add-executors: reused normaliseProfile func for delete dialog
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
* fix login tab
update cypress test
cypress test
rebase
test updates
cypress test fix
get correct ids
fix get call
fix tests
try refetching realm
add useEffect to fix server GET call
uncomment test
revert to original useFetch
prettier
create new function
set timeout to 10 ms
set to 100 ms
* add comment to useEffect per Jon feedback
* rebase
dont fetch rolesbyID if mapperId
save attributes
fix cypress test
cypress test updates
fix cancel route
route fix with Erik
Apply suggestions from Jon's code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
pr feedback from jon
remove unused import
* usefindbytestid
* PR feedback from Jon
* fix tests
* fix save bug and feedback from Jon
* remove unnecessary type
* fix cypress test
* changed to use code editor
* Update src/components/json-file-upload/JsonFileUpload.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* fixed tests
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* events: uncommented test for searching user events
* events: added refresh btn and tidied up css
* events: increased search form width
* events: removed unwanted Divider
* events: fixed grey line issue when no events logged, fixed test
* events: renamed css classes to make them reusable for admin search
* events: added admin events search ui
* events: fixed refresh btn on user events tab
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>