Details
-
Story
-
Resolution: Unresolved
-
Medium
-
None
-
4.6.0
-
Ibexa Experience
Description
Specification
A Symfony command php ./bin/console ibexa:dashboard:assign <source_dashboard_location_remote_id> [--user=<admin_login>] [--dashboard-user=<login>|--dashboard-user-group=<user_group_location_remote_id>].
Example to be based on: https://github.com/ibexa/documentation-developer/pull/2244/files#diff-0995545cfd1f8483b7e3df31b2a92469b10cfa50763e732eaeca4c6339e306c2
<source_dashboard_location_remote_id> is a Dashboard location remote ID from which a dashboard will be created
Requirements:
- command needs to accept optional --user option to specify administrative user login for the command to run as (per existing pattern)
- command needs to allow creating dashboard per list (array) of either user group location remote id or user login (--dashboard-user(group) option)
- command needs to catch and show errors per each element of the above list
- command needs to display progress bar, due to scalability
- TBD: do we need to switch user context when creating drafts or can admin create it and assign? (probably not OOTB due to UserPreference service limitations ATM)
- technical: use batch iterator for users