Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
sandeepgather
Contributor III
Contributor III

Section Access - Qlik Sense

I am trying to setup section access for personal fields in Qlik Sense. Below is the code that I have used. After running this, it gives me error message that access was denied after re-load. I am not part of the Group "No_Personal_Access" so I was assuming it will load correctly and I should be able to view Phone_Nbr and users who are part of this group will not see the column, but it gives me error message.

Please advise

SECTION ACCESS;
AUTHORIZATION:
LOAD * INLINE [
ACCESS, USERID, GROUP, OMIT
ADMIN, *, No_Personal_Access, "Phone_Nbr"
];
SECTION APPLICATION;

1 Solution

Accepted Solutions
sandeepgather
Contributor III
Contributor III
Author

I actually had a comma missing in my code which was causing the issue

View solution in original post

2 Replies
ChiragPradhan
Creator II
Creator II

I believe the requirement is to disallow users of the No_Personal_Access group to the field Phone_Nbr.

In that case, the section access script should be something like this - 

SectionAccess:
LOAD * inline [
ACCESS, USERID, GROUP,REDUCTION, OMIT
USER,  *, 'No_Personal_Access', *, 'Phone_Nbr'
];
 
If you have locked yourself out of the application, you can right-click the app in hub and "Open without data". Make your changes to the section access script and reload the app.
 
sandeepgather
Contributor III
Contributor III
Author

I actually had a comma missing in my code which was causing the issue