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

Edit permissions for multiple forms at once #73

Open
wants to merge 63 commits into
base: master
Choose a base branch
from

Conversation

jegelstaff
Copy link
Owner

No description provided.

<form id="form-<{$number}>" class="formulize-admin-form" action="<{$xoops_url}>/modules/formulize/admin/ui.php?page=form&aid=<{$content.aid}>&fid=<{$content.fid}>&tab=permissions" method="post">
<{php}>print $GLOBALS['xoopsSecurity']->getTokenHTML()<{/php}>
<input type="hidden" name="formulize_admin_handler" value="form_permissions">
<input type="hidden" name="formulize_admin_key" value="<{$content.fid}>">
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, the admin_key is probably irrelevant, because there isn't a single item that we're editing that we need to grab the object for.

Vince Marchese added 4 commits March 24, 2014 15:17
The admin_key was left over from code copied from
form_permissions.html, but it’s no longer needed since we’re dealing
with multiple form id’s.
Vince Marchese and others added 22 commits January 18, 2015 11:10
Allowing the user to specify how they want permissions to be applied.
They can chose to only add new permissions or start with a blank slate.
The admin_key was left over from code copied from
form_permissions.html, but it’s no longer needed since we’re dealing
with multiple form id’s.
@jegelstaff
Copy link
Owner Author

Apply permissions to multiple forms at once! Super feature, should have been reviewed and integrated already.

@jegelstaff jegelstaff added this to the 8.0 milestone Nov 11, 2023
@jegelstaff jegelstaff changed the title Multiple permissions Edit permissions for multiple forms at once Nov 11, 2023
@jegelstaff jegelstaff modified the milestones: 8.0, 8.1 Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants