Portal Role - Knowledge Base on Contact Level

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elrond1337
    Junior Member
    • Aug 2019
    • 9

    Portal Role - Knowledge Base on Contact Level

    Hi all,

    is there any reason why I can´t set portal permissions for Knowledge Base on Contact (or account) level (like in the screenshot attached)?
    This is well working for other entities but unfortunately for Knowledge Base you can just choose "no" or "all"...

    Best Regards,
    Elrond
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hi,
    Knowledge Base can't be set to the contact or account access level. This entity represents data (tips, documentations, guide) that should be available to all users. If you want to restrict access for contact or account scope only maybe it is better to use the Documents entity instead.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      You can customize in metadata.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • elrond1337
        Junior Member
        • Aug 2019
        • 9

        #4
        yuri thank you for this hint. Wich file do you mean and wich lines I have to edit/insert?

        Comment

        • Maximus
          Senior Member
          • Nov 2018
          • 2731

          #5
          Create a json file (e.g. KnowledgeBaseArticle.json) In espocrm/custom/Espo/Custom/Resources/metadata/scopes with this code:
          Code:
          {
              "aclPortal": "recordAllAccountContactNo"
          }
          Cleare the cache and reload a webpage. The contacts and account scope should be available.
          Last edited by Maximus; 09-23-2019, 12:57 PM.

          Comment


          • elrond1337
            elrond1337 commented
            Editing a comment
            Thank you, that is working very well!
        Working...