Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
This is the code written in hidden script. Department is a column in my data model.When I am logging with user credentials the filters are not working.Strict Exclusion properties are already checked. Need help. Thanks in advance.
Section Access;
LOAD * INLINE [
ACCESS, USERID, PASSWORD, Department1
admin, 1, 1, *
user, user2, 2, Computer
user, user3, 3, Electrical
user, user4, 4, Chemical
];
Section Application;
LOAD * INLINE [
Department, Department1
CSE, Computer
EEE, Electrical
CHE, Chemical
];
Department1 must be UPPERCASE
Section Access;
LOAD * INLINE [
ACCESS, USERID, PASSWORD, DEPARTMENT1
admin, 1, 1, *
user, user2, 2, Computer
user, user3, 3, Electrical
user, user4, 4, Chemical
];
Section Application;
LOAD * INLINE [
Department, DEPARTMENT1
CSE, Computer
EEE, Electrical
CHE, Chemical
];
after doing this no user is able to open the document except the admin user.
above code is not working...User cant even open the document...with lower case department1 atleast user was able to open the document
It works fine.
Change it to :
LOAD * INLINE [
ACCESS, USERID, PASSWORD, DEPARTMENT
admin, 1, 1, *
user, user2, 2, CSE
user, user3, 3, EEE
user, user4, 4, CHE
];
Section Application;
LOAD * INLINE [
DEPARTMENT, Department1
CSE, Computer
EEE, Electrical
CHE, Chemical
];
Section Access;
LOAD * INLINE [
ACCESS, USERID, PASSWORD, DEPARTMENT1
admin, 1, 1, *
user, user2, 2, COMPUTER
user, user3, 3, ELECTRICAL
user, user4, 4, CHEMICAL
];
Section Application;
LOAD * INLINE [
Department, DEPARTMENT1
CSE, COMPUTER
EEE, ELECTRICAL
CHE, CHEMICAL
];
Sorry, field values has to be uppercase too
LOAD * INLINE [
ACCESS, USERID, PASSWORD, DEPARTMENT1
admin, 1, 1, *
user, user2, 2, COMPUTER
user, user3, 3, ELECTRICAL
user, user4, 4, CHEMICAL
];
Section Application;
LOAD * INLINE [
Department, DEPARTMENT1
CSE, COMPUTER
EEE, ELECTRICAL
CHE, CHEMICAL
];