Difference between revisions of "How to Limit User Access to own Record"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
m (added category - Developer documentation)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
This little tips is useful when we want to limit user access/change to his own profile.
 
This little tips is useful when we want to limit user access/change to his own profile.
  
The idea is make clone of User Window and add tiny where clause to it.
+
The idea is make clone of [[ManPageW_User|User Window]] and add tiny where clause to it.
  
 
Ok, here is the steps :
 
Ok, here is the steps :
Line 7: Line 7:
 
1. Login as SuperUser and choose System Administration Role.
 
1. Login as SuperUser and choose System Administration Role.
  
2. Go to Window, Tab & Field.
+
2. Go to [[ManPageW_WindowTabField|Window, Tab & Field]].
  
 
3. Create New Window, Name it : My Profile
 
3. Create New Window, Name it : My Profile
Line 13: Line 13:
 
[[Image:MyProfile_Window.png]]
 
[[Image:MyProfile_Window.png]]
  
4. Click on Copy Windows Tab to clone tabs from User Window  
+
4. Click on Copy Windows Tab to clone tabs from [[ManPageW_User|User Window]].
  
 
5. Go to Tab and excluding some records using delete button and keep following :
 
5. Go to Tab and excluding some records using delete button and keep following :
Line 27: Line 27:
 
7. Save it, and we're done this new window u can safely close it.
 
7. Save it, and we're done this new window u can safely close it.
  
8. Next Link My Profile Window into Menu, Click on "Menu"
+
8. Next Link My Profile Window into Menu, Click on "[[ManPageW_Menu|Menu]]".
  
 
9. Add a New Record, name it My Profile
 
9. Add a New Record, name it My Profile
Line 37: Line 37:
 
11. Save it and voila it's done.
 
11. Save it and voila it's done.
  
Above tips is base on Teo Sarca post :
+
Above tips is base on [[User:Teo_sarca|Teo Sarca]] post :
 
https://sourceforge.net/forum/message.php?msg_id=4286510
 
https://sourceforge.net/forum/message.php?msg_id=4286510
  
 
My personal thanks to Teo Sarca.
 
My personal thanks to Teo Sarca.
  
Usman.
+
[[User:Usman88|Usman]].
 +
 
 +
 
 +
[[Category:Developer documentation]]

Latest revision as of 11:18, 29 April 2007

This little tips is useful when we want to limit user access/change to his own profile.

The idea is make clone of User Window and add tiny where clause to it.

Ok, here is the steps :

1. Login as SuperUser and choose System Administration Role.

2. Go to Window, Tab & Field.

3. Create New Window, Name it : My Profile

MyProfile Window.png

4. Click on Copy Windows Tab to clone tabs from User Window.

5. Go to Tab and excluding some records using delete button and keep following :

  User Contact, User Subtitute, User Mail, Queries, LDAP Access

MyProfile tab.png

6. Still in Tab, Zoom user Contact Record and scroll down until you find Sql WHERE box, then type in :

   AD_User_ID=@#AD_User_ID@

MyProfile where.png

7. Save it, and we're done this new window u can safely close it.

8. Next Link My Profile Window into Menu, Click on "Menu".

9. Add a New Record, name it My Profile

10. Select Action as "Window" and fill the window box select "My Profile".

MyProfile menu.png

11. Save it and voila it's done.

Above tips is base on Teo Sarca post : https://sourceforge.net/forum/message.php?msg_id=4286510

My personal thanks to Teo Sarca.

Usman.