Div | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
The Parameter Restrictions are applied "on top" of the Use Restriction for that macro. In other words, an "edit" page restriction must match (only) whatever userids and/or group names are referenced in both the Use Restriction condition and the Parameter Restriction.The following table provides some examples of correct and incorrect combinations:
| ||||||||||||||||||||||
4 | sql-query = *ANY sql-query.datasource.* = confluence-administrators sql-query.datasource.hr = hr-managers sql-query.datasource.finance = finance-managers |
The 1st edit restriction must be present if a datasource other than "hr" and "finance". The 2nd edit restriction must be present if the "hr" datasource is used. The 3rd edit restriction must be present if the finance" datasource is used. You could have all of these edit restrictions in place as well. This example shows how to give access to all datasources to confluence-administrators and also give specific datasource access to different groups. | ||||||||||||||||||||
5 | sql = confluence-administrators, trusted-users-sql |
| ||||||||||||||||||||
6 |
| If page is in the DEMO space:
| ||||||||||||||||||||
7 |
| If page is in the DEMO space:
| ||||||||||||||||||||
8 |
| If page is not in the DEMO space:
| 9 |
| If page is not in the DEMO space:
|