Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !905

Fix an use case of a renderjs site under the context of an anonymous user.

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Ivan Tyagov requested to merge Tyagov/erp5:fix-hateos into master Jul 19, 2019
  • Overview 6
  • Commits 1
  • Pipelines 0
  • Changes 1

What happens is that in same script (line 907) we want to calculateHateos for restricted case without passing (I consider explict decision) the response. What happens is that script will try to redirect to login form using non existing response parameter. So fix is redirect ONLY if we do pass response. This allows a Web Site to work with Anonymous accessible content.

@romain and / or @rporchetto please feel free to contact me so I show my use case with a real example.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-hateos
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7