Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have an app that I need to apply section access to restrict which tabs people can see.
Our users are being managed by the QMC and they are all placed in groups. How do I use those group names within my section access? I do not want to hold specific usernames within the app as it will become unmanageable.
I've tried applying the following but the users cannot open the app from the Access Portal.
Section Access;
LOAD * INLINE [
ACCESS, NTNAME, SHEET
USERS, GROUP1, SH01
USERS, GROUP1, SH02
USERS, GROUP1, SH03
USERS, GROUP2, SH01
USERS, GROUP2, SH02
];
Section Application;
Any help?
I found a solution to this question.
Section Access;
LOAD * INLINE [
ACCESS, NTNAME, GROUP
ADMIN, MYUSERNAME, ALL // replace MYUSERNAME with your username otherwise you will be locked out the app.
USER, GROUP1, GROUP1
USER, GROUP1, GROUP2
];
Section Application;
SheetAccess:
LOAD * INLINE [
GROUP, SH01, SH02, SH03
ALL, 1, 1, 1
GROUP1, 1, 1, 1
GROUP2, 1, 1, 0
];
In each tab I added a show condition to of =SH01 or =SH02 or =SH03.
Check the box in Document Settings to restrict data by Section Access.
Once published, the users in GROUP1 could see all tabs but GROUP2 could only see sheets SH01 and SH02
Those solutions require me to have the usernames in the Section Access which is not manageable. I need to use the groups in QMC to specify access
I found a solution to this question.
Section Access;
LOAD * INLINE [
ACCESS, NTNAME, GROUP
ADMIN, MYUSERNAME, ALL // replace MYUSERNAME with your username otherwise you will be locked out the app.
USER, GROUP1, GROUP1
USER, GROUP1, GROUP2
];
Section Application;
SheetAccess:
LOAD * INLINE [
GROUP, SH01, SH02, SH03
ALL, 1, 1, 1
GROUP1, 1, 1, 1
GROUP2, 1, 1, 0
];
In each tab I added a show condition to of =SH01 or =SH02 or =SH03.
Check the box in Document Settings to restrict data by Section Access.
Once published, the users in GROUP1 could see all tabs but GROUP2 could only see sheets SH01 and SH02