Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private/friends-only content #147

Closed
fluffy-critter opened this issue Dec 18, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@fluffy-critter
Copy link
Collaborator

commented Dec 18, 2018

Expected Behavior

Publ needs a way to add private/friends-only/restricted content. There are two major parts to this, identity management (which is what Authl is for) and content restriction.

Possible Solution

Some thoughts about this are detailed at
http://publ.beesbuzz.biz/blog/392-v0-3-11 (which you can also read at
https://github.com/PlaidWeb/publ-site/blob/master/content/blog/20181215%20v0.3.11.md if the Publ site is down).

For development purposes there will of course need to be a way of setting the remote identity locally, e.g. by running it with a REMOTE_USER environment variable set. This will help to decouple the implementation of the privacy features from the implementation of Authl (and also allow people to test their entry visibility as they author it).

In the long term there should also probably be an auth role for an identity that allows you to impersonate any other identity, to be exposed by whatever dashboard function is tied to the auth stuff.

(This feature also necessitates the development of some sort of admin dashboard endpoint, which will only be visible to someone with an auth role of _admin or whatever.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.