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

Incorrect values returned to the form in the Page Security tab #3525

Closed
petira opened this issue Feb 4, 2022 · 1 comment
Closed

Incorrect values returned to the form in the Page Security tab #3525

petira opened this issue Feb 4, 2022 · 1 comment
Assignees

Comments

@petira
Copy link

petira commented Feb 4, 2022

If you enter Page Authors in the Security tab, it will be saved correctly in the frontmatter:

permissions:
    authors:
        - author1
        - author2
        - author3

but incorrect values will be returned in Normal mode:

Page Authors:
        - 'author1,author2,author3'
        - 'author1,author2,author3'
        - 'author1,author2,author3'

These values will be saved the next time you send form:

permissions:
    authors:
        - 'author1,author2,author3'
        - 'author1,author2,author3'
        - 'author1,author2,author3'

etc.

@w00fz w00fz self-assigned this Feb 4, 2022
@w00fz w00fz transferred this issue from getgrav/grav-plugin-admin Feb 4, 2022
@w00fz w00fz closed this as completed in 5eefc91 Feb 4, 2022
@w00fz
Copy link
Member

w00fz commented Feb 4, 2022

Good catch, thanks. I also transferred the issue here in getgrav/grav since the fix was here.

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

No branches or pull requests

2 participants