[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

Could a Role stop you to see the content of a view?

Here's the bug:

Got a view.  Accessible with or without the role "x".

I can see the view in both case.  But the content only shows when the role "x" is checked in the ACL.  Uncheck the role, and the content won't show.

But security is set to "all readers and above" in the view...

Everything is okay in the Outline (the source is a Named Element, value was correctly selected...)

I also got another view (taking data from another form, but doing a similar kind of thing), and in this case, the view shows its content no matter if the role is checked or not!

???
0
barbotte
Asked:
barbotte
  • 3
  • 2
1 Solution
 
HemanthaKumarCommented:
Not sure.. what is happening here.

From the behaviour it seems to be some kind of corruption. Compact the database and run fixup on the server.. this should fix any corruptions.

Sometime ACL is corrupted and system doesn't really read the acl properly. To overcome this just add and delete a test entry in the acl and ok the acl dialog.

~Hemanth
0
 
Bozzie4Commented:
If your documents have Read restrictions, you won't see any documents either of course.
So check for Readers fields on the documents.


cheers,

Tom
0
 
barbotteAuthor Commented:
Running fixup on server??

I'm developping in Local actually, on WinXP, Notes 6...

A previous version of the same database is on a Domino server, and the same bug happens.  But I just noticed it recently, so the bug was probably always there...
0
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 
barbotteAuthor Commented:
If I try to create a totally new view, taking its data from the same form, I get the same bug...

So the problem seems to concern the form itself??
0
 
HemanthaKumarCommented:
barbotte,
Ok the problem are multiple.. I wouldn't say it as a problem. but improper use of security.

First the security can work on server or if local then it should enforce consistent acl (Check db ACL ..advanced section).

Secondly the documents have readers field with role X in it.. So anyone with role X will only be able to see the docs for others the doc is hidden. You can check this by scanning the doc properties for any readers type field and what is in it ?

0
 
barbotteAuthor Commented:
That was is... Readers type in document... I feel stupid!  Thank you!
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now