complex PROTECTion

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
tkilshaw
Posts: 170
Joined: Thu Jan 19, 2006 11:33 pm
Location: Western Canada
Contact:

complex PROTECTion

Post by tkilshaw »

Account has a reference to Contacts, 1 to many peer with matching attribute Contact.Accounts, 1 to many Peer.

Account has reference attribute AssignedTo, a 1 to 1 peer relation with matching attribute RegularUser.Accounts, a 1 to many peer.

RegularUser types include SalesManager and SalesPerson.

SalesManagers are always allowed to edit Contact records. SalesPersons are only allowed to edit Contacts that belong to an Account assigned to them. Otherwise they are not allowed to edit any Contacts.

How is this doable in Aware?

Thanks,

Terry
aware_support2
Posts: 595
Joined: Sun Apr 24, 2005 2:22 am
Contact:

Post by aware_support2 »

Terry,

> How is this doable in Aware?
By adding a rule to object Account:

If LoggedInRegularUser.AccessLevel = 'SalesPerson' AND LoggedInRegularUser <> Account.AssignedTo Then
PROTECT Account.Contacts FROM SalesPerson
Aware IM Support Team
Post Reply