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

Anonymous user and rights #17

Open
sookoll opened this issue Nov 13, 2019 · 1 comment
Open

Anonymous user and rights #17

sookoll opened this issue Nov 13, 2019 · 1 comment

Comments

@sookoll
Copy link

sookoll commented Nov 13, 2019

There should be anon built-in user, so there is possibility to grant anonymous access to page in directory, which is restricted.

users:
    editors:
        user1: passhash
rights:
    folder: editors
    folder/public: anon

or some other way to exclude some page from restrictions

@sookoll
Copy link
Author

sookoll commented Dec 2, 2019

Actually. Defining anonymous access in config is not sufficent for me at least. Every new page, You need to edit config also. What do You think about a meta tag for that? And in config, hold name for that meta tag, so it is not hard-coded.

In config:

picoUsers:
    metaKey: access

In page:

--
Title: Page title
access: anon

Or smth. similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants