Project

General

Profile

Actions

Defect #3085

closed

For codelist cannot be defined rules for automatic roles

Added by Ondřej Kopr over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Boris Polák
Category:
Frontend
Target version:
Start date:
03/23/2022
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Probably error after UX changes.

Error:

An invalid form control with name='' is not focusable.

Actions #1

Updated by Ondřej Kopr over 2 years ago

Workarround (BUT NOT FOR CLASSIC ADMINISTRATORS!!)

Use CURL:

curl 'https://my.idm.local/idm/api/v1/automatic-role-rule-requests' \
  -H 'Connection: keep-alive' \
  -H 'Accept: application/hal+json' \
  -H 'CIDMST: PASTE YOUR CURL' \
  -H 'Content-Type: application/hal+json;charset=UTF-8' \
  -H 'Origin: https://my.idm.local' \
  -H 'Referer: https://my.idm.local/idm/' \
  -H 'Accept-Language: cs,en-US;q=0.9,en;q=0.8' \
  -H 'Cookie: i18next=cs' \
  --data-raw '{"operation":"ADD", "request":"98f239fa-1eee-4d8c-a33b-dd2a46f180cc", "formAttribute":"822f6070-37db-46f9-a8ff-0a0f73daf74f", "attributeName":"o365", "type":"IDENTITY_EAV", "value":"F1", "comparison":"EQUALS"}' \
  --compressed \
  --insecure

Curl can be used from IdM server if this isn't possible add wildcard (*) to your IdM configuration for origins

idm.pub.security.allowed-origins=*
Actions #2

Updated by Alena Peterová almost 2 years ago

  • Affected versions 12.2.2 added

Still valid for 12.2.3.
Other workaround is to use import task for automatic roles by attributes: https://wiki.czechidm.com/tutorial/adm/automatic_role_definitions_-_import_all_rules

Actions #3

Updated by Tomáš Doischer almost 2 years ago

  • Assignee changed from Peter Štrunc to Boris Polák
Actions #4

Updated by Boris Polák almost 2 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Boris Polák almost 2 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Boris Polák to Peter Štrunc
  • % Done changed from 0 to 80
Actions #6

Updated by Peter Štrunc almost 2 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Peter Štrunc to Boris Polák
  • % Done changed from 80 to 100

Looks good. Merged to develop.

Actions #7

Updated by Tomáš Doischer almost 2 years ago

  • Status changed from Resolved to Closed
  • Target version set to 13.0.1
Actions

Also available in: Atom PDF