Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Karl_Hart
Creator
Creator

Security

Hi all,

I am trying to set up security around my document and I'm having a little trouble.

For simplicity sake, lets say I have two tabs in my document. 1 that has Stock data and 1 that has finance data. I want everyone to be able to see the data on the stock tab but restrict what data people can see on the finance tab.

When I use section access and check the initial data reduction option, this excludes the data on the finance tab as expected but also it removed all data on the stock tab (The finance and stock data are only linked via the IndexDate field)

Ultimately I want to have the following:

Full Table

Area                    Cost Type          Amount

Area A                Staff                    £50

Area A               Materials               £100

Area B               Staff                    £150

Area B               Materials               £200

I want to be able to restrict the above table to have the following results

Manager A

Area                    Cost Type          Amount

Area A                Staff                    £50

Area A               Materials               £100

User A

Area                    Cost Type          Amount

Area A               Materials               £100

Manager B

Area                    Cost Type          Amount

Area B               Staff                    £150

Area B               Materials               £200

User B

Area                    Cost Type          Amount

Area B               Materials               £200

That is, that Each manager can see the full costs for their area only and each user can see all the costs except staff costs for their own area only.

I hope this makes sense. Thanks, Karl

5 Replies
Bill_Britt
Former Employee
Former Employee

Hi,

Here is a sample QVS. The logins are:

ADMIN

MANAGERA

USERA

MANAGERB

USERB

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Karl_Hart
Creator
Creator
Author

Thanks for the work Bill, but as mentioned in my post - I can get the section access to work (and it works fine for simple examples) but in my real document it excludes data that I dont want it to. i.e. it excludes all the Stock data as (in my example above) that data isnt linked to a specific manager or area.

Bill_Britt
Former Employee
Former Employee

Hi,

Hard to say what the issue is without the data.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
vikasmahajan

PFA  Document Please refer the same using login admin and password admin1

Hope this may help you what you are looking for.

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Karl_Hart
Creator
Creator
Author

All,

Thanks for the help. I've resorted to creating variables based on the OSUSer() and then applying the set analysis on the objects I want based on those variables.