Wiki source code of Analyse ad-hoc

Last modified by Aurelie Bertrand on 2025/11/14 11:59

Show last authors
1 You can configure the security of public views of ad-hoc analysis.
2
3 [[image:Ad_hoc_en.png||alt="Ad hoc analysis"]]
4
5 |=(% scope="row" style="width: 348px;" %)Public views security|(% style="width:477px" %)Enter a user parameter to restrict access to public views. For example, //${user.param_adhoc}//.
6 Only users sharing this parameter will have access to public views.
7 |=(% style="width: 348px;" %)Separator for public views security multi values|(% style="width:477px" %)(((
8 (% style="line-height:1.38" %)
9 If the user parameter has several possible values, you can enter a separator to distinguish these values.
10 For example, a slash (val1/val2) or a comma (val1,val2).
11 )))
12 |=(% style="width: 348px;" %)Value for "All" public views security|(% style="width:477px" %)(((
13 You can enter a value to be used to display all views. This value will allow the user to see all views, regardless of the security in place.
14 For example, //.*// or //All. //Users with this user parameter value will be able to see all views.
15 )))
16
17 = Example =
18
19 To configure security for public views of ad-hoc analysis :
20
21 1. Create a user parameter as described in the paragraph [[Add a user parameter>>doc:Digdash.deployment.configuration.administration.User_management.User_management.WebHome||anchor="Parametres_utilisateurs"]]. Here, we create the parameter //**param_adhoc.**//
22 ➡ This parameter is then available in the user edition.
23 1. On the **Ad-hoc analysis of** server parameters page, enter this parameter in the **Public view security** field.
24 Here we also choose to enter the value //**All**// for the **"All" security value **field **for public views **as in the screenshot above.
25 1. Edit the users and enter a value for the user parameter created.
26 For example, for the user John, we enter the value **groupe1**.
27 [[image:1759480215992-150.png||alt="Paramètre utilisateur"]]
28 For the Admin user, we enter the value chosen in the **"All" security value** field **for public views**.
29 [[image:1759480297158-866.png||alt="Paramètre utilisateur admin"]]
30
31 In this case, we obtain the following behaviour:
32
33 * John creates a public view. All users with the value **//group1//** for the user parameter //**${user.param_ad_hoc}** will be able to //see this view. Conversely, John will be able to see all views created by users with the value **//group1//** for the user parameter //**${user.param_ad_hoc}**//.
34 * Admin will be able to see all public views. Similarly, if he creates public views, all users will be able to see them.
35
36 (% class="box" %)
37 (((
38 ℹ See the [[Ad-hoc analysis>>doc:Digdash.user_guide.dashboard.self_service_bi.WebHome]] page to find out more about views.
39 )))