Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Access level

Post Reply
pfanelli
Posts: 2
Joined: Sun Oct 21, 2012 2:38 pm

Access level

Unread post 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.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Access level

Unread post 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
You do not have the required permissions to view the files attached to this post.
pfanelli
Posts: 2
Joined: Sun Oct 21, 2012 2:38 pm

Re: Access level

Unread post 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.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Access level

Unread post 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
Post Reply