Can't get roles to work consistently
Posted: Thu Jan 07, 2010 10:54 pm
I have set two global SQL vars in my core order view dictionary with "role A" checked.
I have used these two columns in a report in both totals and details.
I run this report logged in under two different user accounts, one with role A checked, the other with role A unchecked.
The report output in both cases is identical. Both fields display.
I thought I had tested this and had it working once -- but I must have been dreaming!
I could clone reports, assign them to different user/groups and remove those fields, but I'd really like to use roles.
Today I did experience roles working -- the reverse of what I expected, i.e. I thought a user must be checked for roleA to see fields likewise checked, but that was preventing them from showing up. So I started over and tried this simple test to make sure I understood the logic.
But now its not working in either case. I must be doing something wrong but its too simple for me to see it.
Bob
I have used these two columns in a report in both totals and details.
I run this report logged in under two different user accounts, one with role A checked, the other with role A unchecked.
The report output in both cases is identical. Both fields display.
I thought I had tested this and had it working once -- but I must have been dreaming!
I could clone reports, assign them to different user/groups and remove those fields, but I'd really like to use roles.
Today I did experience roles working -- the reverse of what I expected, i.e. I thought a user must be checked for roleA to see fields likewise checked, but that was preventing them from showing up. So I started over and tried this simple test to make sure I understood the logic.
But now its not working in either case. I must be doing something wrong but its too simple for me to see it.
Bob