Restricting Managers from Modifying the Attributes in the Web Portal

Hi Team,

How to restrict the managers from modifying the attributes in the web portal for their contractor/partner subordinates?

Parents
  •   I actually added below script on person on loading script and removed permissions (VI_4_ALLMANAGER ) from user manager and then did the testing from web portal. Managers are still able to update exit date columns from web portal and the entries are getting saved in DB.

    I am out of ideas; can you suggest me if I am doing anything wrong here?

    If AppData.Instance.AppType = AppType.Web AndAlso _
    (Session.Principal.Groups.GetGroupNames()).Contains("VI_4_ALLMANAGER") Then
    ...
    Entity.Columns("exitdate").CanEdit = False

Reply
  •   I actually added below script on person on loading script and removed permissions (VI_4_ALLMANAGER ) from user manager and then did the testing from web portal. Managers are still able to update exit date columns from web portal and the entries are getting saved in DB.

    I am out of ideas; can you suggest me if I am doing anything wrong here?

    If AppData.Instance.AppType = AppType.Web AndAlso _
    (Session.Principal.Groups.GetGroupNames()).Contains("VI_4_ALLMANAGER") Then
    ...
    Entity.Columns("exitdate").CanEdit = False

Children