Page 1 of 1

Access level

Posted: Sun Oct 21, 2012 3:28 pm
by pfanelli
Hi everyone, I'm new in this forum, I would like ask you a question about access level.
For example : I've got an user (user1) who creates a document, I've got another user (user2) who also creates a document.
I would like that each user can only see their own documents and not the document of another user.
Is it easy to do that? Do I have to manage it in the panel access level or do I have to work with the ID of the document and in that case how?
Thanks for your help.

Re: Access level

Posted: Mon Oct 22, 2012 2:36 am
by admin
pfanelli,

Filtering out individual users records needs to be done in the Browse Form using hash variables..

http://wiki.nubuilder.com/tiki-index.ph ... uilderDocs
Capture3.PNG
Use it like this - including the brackets.
Capture.PNG
Hope this helps.

Steven

Re: Access level

Posted: Mon Oct 22, 2012 9:12 pm
by pfanelli
Thanks a lot for your answer, I would like to have a detailed precision.
I understood well the use of the hash variable nevertheless I've got a question about the element CUS_ZZSYS_user_id
How do I define this element in the database?
Thanks again for your help.
PF.

Re: Access level

Posted: Tue Oct 23, 2012 2:45 am
by admin
PF,

Its just a field that was put in the customer table and updated when the record is created.

You could call it whatever you want.

Steven