runAs on REST API with Api User

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hi-ko
    Member
    • May 2015
    • 90

    runAs on REST API with Api User

    I'm pretty aware about the Espo REST API and the api user. We integrated EspoCRM into our enterprise integration tier which uses an espo admin user to read and write data.
    Given that we also have implemented a unified user/SSO concept we need to restrict data access for a specific end user (sso speak: REMOTE_USER) since the api user has admin permissions and we want/need to respect the permissions defined in espo for that end user.
    Is there any concept we can use to run a REST api call with runAs remote_user permissions sending the remote_user in the request?
  • yuri
    Member
    • Mar 2014
    • 8467

    #2
    API User don't have admin permissions. They do have roles as regular users.
    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

    • hi-ko
      Member
      • May 2015
      • 90

      #3
      Hi Yuri,
      thanks for your feedback. Concerning our main intention: Is there any concept we can use to run a REST api call with runAs user?

      Comment

      • yuri
        Member
        • Mar 2014
        • 8467

        #4
        There is no such an ability.
        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

        Working...