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

"Author" User role has a useless shortcode generator on pages and posts #845

Closed
Benunc opened this issue Aug 8, 2016 · 4 comments
Closed
Assignees
Milestone

Comments

@Benunc
Copy link
Member

Benunc commented Aug 8, 2016

Current issue: if you create a User role of "Author," where the user has richediting enabled, Give is currently outputting a shortcode generator, but since they don't have the ability to see or edit give_forms, their shortcode generator is non-functional.
#842 addresses this

@mathetos
Copy link
Member

mathetos commented Aug 8, 2016

I don't think the answer to this question is to prevent them from embedding the Give form (which by the looks of #849 is what it does). Instead, I think the generator should be made functional for them.

Basically, there's no reason to limit who can embed Give forms from our end. The user can customize that however they want, but our roles/capabilities shouldn't be focused on adding forms to posts/pages.

I know this is merged already, but I'm confused on it's actual utility.

@Benunc
Copy link
Member Author

Benunc commented Aug 8, 2016

The problem is that currently the actual generator for the shortcode
doesn't work, because it checks for greater privileges to run the
JavaScript.

On Aug 8, 2016 6:29 PM, "Matt Cromwell" notifications@github.com wrote:

I don't think the answer to this question is to prevent them from embedding
the Give form (which by the looks of #849
#849 is what it does). Instead, I
think the generator should be made functional for them.

Basically, there's no reason to limit who can embed Give forms from our
end. The user can customize that however they want, but our
roles/capabilities shouldn't be focused on adding forms to posts/pages.

I know this is merged already, but I'm confused on it's actual utility.


You are receiving this because you were assigned.

Reply to this email directly, view it on GitHub
#845 (comment),
or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJLtrp20Swq_kfiiV3JqeFmpVB8ILXKbks5qd63BgaJpZM4JfFvO
.

@mathetos
Copy link
Member

mathetos commented Aug 8, 2016

Ya, then my suggestion is to fix the generator rather than exclude the author.

@DevinWalker
Copy link
Member

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

3 participants