Create a role that can enter but read only to others

I see the read only dependent on the field for read only.  Does anyone know the formula I would use? I have a role and want her to be able to enter our Distributor account info. but be read only for everyone else.

Parents
  • Hi  ,

    I don't think you would want to use the 'Read Only' attribute in Studio because the formulas you can use there apply for all users accessing a record. In other words, SugarLogic formulas don't have the capability to be contextual to the user. Instead, I recommend that you make the field read-only via roles. If the person who can edit Distributor account info belongs to a role shared with other users, I recommend creating a unique role for her. Then, set all of your other existing roles to have that field be read-only.

    Admins would still be able to edit the field in this scenario, but all regular users would be restricted with the exception of the select user.

    Chris

Reply
  • Hi  ,

    I don't think you would want to use the 'Read Only' attribute in Studio because the formulas you can use there apply for all users accessing a record. In other words, SugarLogic formulas don't have the capability to be contextual to the user. Instead, I recommend that you make the field read-only via roles. If the person who can edit Distributor account info belongs to a role shared with other users, I recommend creating a unique role for her. Then, set all of your other existing roles to have that field be read-only.

    Admins would still be able to edit the field in this scenario, but all regular users would be restricted with the exception of the select user.

    Chris

Children