Using roles to hide or show doc in a browser

Hi Guys

Something a little different

I have

1) form Item viewable only in Notes
2) form ItemViewer viewable only in Browser
3)view Forms viewable only in Browser
view Forms Selection formula SELECT Form = "Item" & Status = "Publish" & Type = "Form"
FormFormula is "Item Viewer"

What I am stuck on is not all forms are to be displayed to all employees. We are using Roles to limit this
The roles names match a checkbox field (Division) on the form Item

How do I limit certain documents within the browser
When the form is created I choose the Division say Petroleum and Calgary so that if you do not have that role(s) you will not see the form listed in the forms view in the browser

I have created groups in the ACL of the db and assigned the Roles
The Item form Default read is set to All readers and above in the properties
The Forms view Default read is set to All readers and above in the properties

I cannot seem to hide or show documents from those who need to see them or not see them

Any help appreciated


James
imjameswAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

qwaleteeCommented:
Easy.  Just assign the role to a reader names field.  Wtahc outt hat you don't lock out out legitimate ID's (e.g., the server, an administrator)... you can just assign them the role, assuming you don't use the role in code logic anywhere.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HemanthaKumarCommented:
Does the user login to access the data ? If so then qwaletee's approach would work..

or you have to force login the user and use readers field with appropriate roles.

~Hemanth
0
imjameswAuthor Commented:
Apparently they are using IIS to authenticate
So once you have logged into the network then you are not required to log in to the intranet
0
HemanthaKumarCommented:
Then readers field would work.. Use @UserRoles in the readers field in addition to the admin role so that you (or admins ) are not locked out
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.