Skip to content
  • Samuel Paccoud - DINUM's avatar
    0f0f8120
    🐛(backend) fix invitations API endpoint access rights · 0f0f8120
    Samuel Paccoud - DINUM authored
    Only users who have the rights to manage accesses on the document should
    be allowed to see and manipulate invitations. Other users can see access
    rights on the document but only when the corresponding user/team has
    actually been granted access.
    
    We added a parameter in document abilities so the frontend knows when
    the logged-in user can invite another user with the owner role or not.
    0f0f8120
    🐛(backend) fix invitations API endpoint access rights
    Samuel Paccoud - DINUM authored
    Only users who have the rights to manage accesses on the document should
    be allowed to see and manipulate invitations. Other users can see access
    rights on the document but only when the corresponding user/team has
    actually been granted access.
    
    We added a parameter in document abilities so the frontend knows when
    the logged-in user can invite another user with the owner role or not.
Loading