@@ -37,7 +37,12 @@ Add the `ibexa_dam_oauth2_client_user` table to the database:
3737php bin/console ibexa:doctrine:schema:dump-sql vendor/ibexa/dam-user/src/bundle/Resources/config/schema.yaml |  mysql -u < username>  -p < database_name> 
3838``` 
3939
40- Next, add technical users, required by DAM to your [[ = product_name =]]  instance.
40+ Next, create technical users, required by DAM to your [[ = product_name =]]  instance:
41+ 
42+ -  ` image-picker-reader `  - with read permission
43+ -  ` imgage-picker-editor `  - with edit/ delete permission
44+ 
45+ Both users have limited access to Media folder only.
4146
4247To do it, first, import the migration file:
4348
@@ -59,8 +64,16 @@ Create OAuth2 client for the DXP user:
5964php bin/console ibexa:dam:create-oauth2-client < client-name>  < user-identifier> 
6065``` 
6166
67+ For example:
68+ 
69+ ``` bash 
70+ php bin/console ibexa:dam:create-oauth2-client < acme>  < image-picker-editor> 
71+ ``` 
72+ 
6273## Override admin-ui  
6374
75+ Override parameters for ` admin_group `  and use ` site_group `  scope to make them available under REST API.
76+ 
6477Add the following configuration in the ` yaml `  file, for example, ` ibexa_admin_ui_settings.yaml ` :
6578
6679??? note "` ibexa_admin_ui_settings.yaml ` "
@@ -136,9 +149,9 @@ nelmio_cors:
136149            allow_headers : ['Content-Type', 'Authorization', 'X-HTTP-Method-Override'] 
137150` ` ` 
138151
139- Next, in the `  .env` file provide path with a regular expression: 
152+ Next, in the `  .env` file provide path with a regular expression and change the domain to yours : 
140153
141- ` CORS_ALLOW_ORIGIN='^https?://(localhost|127\. 0\. 0\. 1|(.+\. acme \. (com|eu)))?(:[0-9]+)?$'` 
154+ ` CORS_ALLOW_ORIGIN='^https?://(localhost|127\. 0\. 0\. 1|(.+\. yourdomain \. (com|eu)))?(:[0-9]+)?$'` 
142155
143156
144157# ## Override `nelmio` settings
0 commit comments