Read-only column in Person

Hello everyone,

I want to modify the EmployeeType column in the Person so that when a new identity is created, this field is read-only and can only be changed through a template.

I updated the OnLoaded script by adding "Base.Columns("EmployeeType").CanEdit = False", but this only works when I open an existing identity. It doesn't work for a new one.

To explain better, I want the EmployeeType field to be read-only, just like the ImportSource field.

Does anyone have any suggestions?

Thanks,
Elena

Parents
  • Hi Elena,

    one solution could be to clone all permission groups (and related items) and remove insert/edit right on Person.EmployeeType. That would be in v9.2.1:
    * VI_4_ALLMANAGER => CCC_4_ALLMANAGER
    * VI_4_PERSONADMIN => CCC_4_PERSONADMIN
    * VI_Person_EditRights => CCC_Person_EditRights

    Update AERoles to use CCC groups instead.


    Attention: Carefully review the VI permission groups after version upgrades to ensure your CCC permission groups still match except Person.EmployeeType

Reply
  • Hi Elena,

    one solution could be to clone all permission groups (and related items) and remove insert/edit right on Person.EmployeeType. That would be in v9.2.1:
    * VI_4_ALLMANAGER => CCC_4_ALLMANAGER
    * VI_4_PERSONADMIN => CCC_4_PERSONADMIN
    * VI_Person_EditRights => CCC_Person_EditRights

    Update AERoles to use CCC groups instead.


    Attention: Carefully review the VI permission groups after version upgrades to ensure your CCC permission groups still match except Person.EmployeeType

Children
No Data