Disable Auto-follow Preference Globally

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DFerati
    Junior Member
    • Apr 2024
    • 19

    Disable Auto-follow Preference Globally

    Hello, and thanks for reading

    I need to disable the feature to auto-follow because whenever an assigned user is replaced, the old user can still view and check the progress of the entity, if there is another approach or a fix regarding my request please let me know
  • victor
    Active Community Member
    • Aug 2022
    • 727

    #2
    Uncheck Administration > Users > UserName > Preferences > Misc > Auto-follow created records.
    ​Also uncheck Administration > Settings > Misc > Follow Created Entities. This is the default value for new users, or for users who Reset to Default in Preferences.
    Last edited by victor; 06-19-2024, 03:24 PM.

    Comment

    • DFerati
      Junior Member
      • Apr 2024
      • 19

      #3
      Thanks a lot victor I appreciate your response a lot and as of now it does fulfill my requirements, however is it possible to remove it completely for the users?, since if they go to their preferences they still can check it ?

      Comment

      • a.slyzhko
        Member
        • Oct 2023
        • 90

        #4
        Create file custom/Espo/Custom/Resources/metadata/entityAcl/Preferences.json with content
        PHP Code:
        {
          "fields": {
            "followCreatedEntities": {
              "nonAdminReadOnly": true
            }
          }
        }
        Users will still be able to see this field, but not modify
        Last edited by a.slyzhko; 06-20-2024, 08:39 AM.

        Comment

        • DFerati
          Junior Member
          • Apr 2024
          • 19

          #5
          That is perfect, thank you very much to both of you

          Comment

          Working...