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: 
Not applicable

losing user access on reload

i have some sheets that will displayed for specific users according to my inline column PERMISSION

LOAD * Inline

[

PERMISSION

0

1

2

3

];

SECTION Access;

LOAD * Inline

[

USERID, PASSWORD, ACCESS, PERMISSION

admin,123,admin,0

user1,123,user,1

user2,123,user,2

user3,123,user,3

];

SECTION Application;

whwn i am logging into the application its working fine showing the single value in the PERMISSION list box according to the user login, but when i reload the script the PERMISSION list box showing all the values of the column and my sheets are not displaying which are dependent on user PERMISSION value.

Thanks in advance

4 Replies
shree909
Partner - Specialist II
Partner - Specialist II

i think when ur given an admin level access u can see all the permisssions,

if u want a specific user to his permissions  then disable the reload option for the user.

disable reload , edit script   for the user ..

or after reloading the applicaiton close the app and start again then u will not see this problem..

Not applicable
Author

thanks for your response,

actually  when i give the admin level permission i can see 0 value in PERMISSION listbox, i should give a user an option to enter how much data he want to load on data reload, so i can not disable the reload option to the user, as i said if i close the application and reopen it works fine, the problem is when i reload the applicaton the i'm losing  PERMISSION value.

shree909
Partner - Specialist II
Partner - Specialist II

so how the user is going to select the permission, is it through listbox or  input box

Not applicable
Author

user will not select any permission. as he logins with the specific userId and password the corresponding Permission value will be affected. for example if he logins with the userId:admin  and password:123, the permission value will be 0, if we display the list box containing the Permission column it will disaply only '0'(single value).