Skip to content

Commit

Permalink
remove user.Origin (#340)
Browse files Browse the repository at this point in the history
This was a feature that was never fleshed out, which has caused trouble, and which will shortly be removed: gristlabs/grist-core#915

I propose removing the documentation for the feature entirely. Another option would be to strike it out and link to the discussion above. But given that we've no evidence anyone is using it, I've just deleted it. If someone complains we can revisit.
  • Loading branch information
paulfitz authored May 7, 2024
1 parent 3fa9f8a commit eff0207
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions help/en/docs/access-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,6 @@ The `user` variable contains the following members:
* `user.LinkKey`: an object with any access control URL parameters. Access control URL
parameters end in an underscore (which is then stripped). Only available in the
web client, not the API.
* `user.Origin`: The content of the Origin request header. Only available in the API,
not the web client.
* `user.SessionID`: a unique string assigned to anonymous users for the duration of that user's session. For logged in users, `user.SessionID` is always `"u"` + the user's numeric id.

For an example of using the `user` variable, read [Default rules](access-rules.md#default-rules).
Expand Down

0 comments on commit eff0207

Please sign in to comment.