Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
In the Section Access, I have the following :
NTNAME, REGION
DOM1\ABC,AMERICA
DOM1\ABC,ASIA
DOM2\XYZ,EUROPE
Later in my resident tables, I have a few tables with the REGION column in them, but they only have data for AMERICA and ASIA.
When user ABC logs in, he sees data for REGION=AMERICA and ASIA only and everything works fine. However when user XYZ logs in, he is supposed to see data for EUROPE only, but since the other tables have no data for EUROPE, this user is expected to NOT SEE any data in the dashboard. But XYZ is seeing everything (i.e. all rows from every table). I tested with another user DEF who doesn't exist in the Section Access and even he is able to see everything.
Please suggest how to restrict the access for XYZ and DEF in the above example.
Thanks.
HIC
PS Make sure you have a backup copy...
HIC
PS Make sure you have a backup copy...
Hi HIC,
Strict Exclusion seems to work, however when I check Strict Exclusion, user XYZ can't even open the document. Is that how it's supposed to behave ?
Also, for another user DEF who should always see everything, do I just need to change ACCESS to ADMIN ?
Thanks.
That XYZ cannot open the document is expected. That is what will happen if there are no records corresponding to the restriction.
If you want the user DEF to see everything, there are the following options:
HIC
Thanks ! The message to XYZ - "Access denied to the document" is misleading...any way for XYZ to be able to open the dashboard but see blank charts/tables ?
There is no setting for this. If there is no data - then you cannot open the file. And that's it.
What you could do, is to have a dummy record for each region. So that you have a record where REGION='Europe' and Country=NULL. Then the user will see the value Europe in the REGION list box, but all other list boxes will be empty.
HIC
Everything works fine when opened locally on my machine...however when I copied the qvw to the server and opened it from server with my id (same id opened it fine locally), its prompting for User ID. FYI, I am using NTNAME in the section access and server uses DMS Authorization.
Thanks.
I suspect that it will not work directly with DMS authorization. To make it work, you need to have the web server request a ticket from the QlikView server. The user ID on the ticket will be compared to the NTNAME in Section Access.
HIC
Is there any document availabe online to elaborate what you mentioned ? Is there any other way around this ?
Thanks!
There are plenty of documents on QlikCommunity about authentication, e.g. http://community.qlik.com/docs/DOC-2586 . See also the attached file.
About the dummy records: This is quite straightforward. Let's assume that you have your REGIONs in a country table:
Countries:
Load *, Upper(Region) as REGION From <sometable> ...
All you then need to do is to load the regions that you want the following way:
Concatenate (Countries) Load Upper(Region) as REGION inline
[Region
Europe
EMEA
APAC];
HIC