<p><a href="https://sprout.barrelstrengthdesign.com/craft-plugins/forms" rel="nofollow noreferrer">Sprout Forms</a> v2.5.0 adds improved support for permissions. These permissions can be set per user group and now include:</p>

<pre><code>- Manage Forms
- View Form Entries
-- Edit Form Entries
- Edit Settings
</code></pre>

<p>To allow a particular user group to create and edit forms, they will need the <code>Manage Forms</code> permission.</p>

CC BY-SA 3.0
2017-08-31T14:09:53.867Z
2017-08-31T14:09:53.867Z
Ben Parizek
<p>I ran into this as well. I only wanted to client to view the submissions but not edit the actual forms. I don't believe it's a bug they just didn't give it a separate permission.</p>

<p>Here's my workaround:</p>

<p>I edited all three sproutform templates in the _layouts folder.</p>

<ul>
<li>base.html</li>
<li>elementindex.html</li>
<li>settings.html</li>
</ul>

<p>I moved </p>

<pre><code>forms: {
  label: "Forms"|t,
  url: url('sproutforms/forms')
}
</code></pre>

<p>within the</p>

<pre><code>if currentUser.can('editSproutFormsSettings')
</code></pre>

<p>Now the "Edit Form Settings" permission includes the actual forms.</p>

CC BY-SA 3.0
2017-02-03T17:35:32.890Z
Only problem is that when the plugin gets updated it will probably overwrite the code.
Jeff Glenn
CC BY-SA 3.0
2017-02-03T17:32:52.413Z
2017-02-03T21:30:20.203Z
2017-02-03T21:30:20.203Z
Jeff Glenn
<p>I am trying to setup a user permissions such that only a specific user group has permissions to create and edit SproutForms.</p>

<p>When editing the permissions for a user group, there is an option for SproutForms labeled <code>Edit Form Settings</code>. If I leave this setting unchecked, but check the <code>Access SproutForms</code> under the <code>General</code> heading so that the user may view form submissions, a user in this group is still able to create and edit forms.</p>

<p>Is this a bug? Running SproutForms version <code>2.3.2</code>. </p>

<p>Any help would be much appreciated.</p>

<plugin-sproutforms>
SproutForms: User permissions to edit form settings not being honored
# SproutForms: User permissions to edit form settings not being honored

(Asked by: username_0 on 2016-07-29)

I am trying to setup a user permissions such that only a specific user group has permissions to create and edit SproutForms.

When editing the permissions for a user group, there is an option for SproutForms labeled `Edit Form Settings`. If I leave this setting unchecked, but check the `Access SproutForms` under the `General` heading so that the user may view form submissions, a user in this group is still able to create and edit forms.

Is this a bug? Running SproutForms version `2.3.2`.

Any help would be much appreciated.

**Tags:** plugin-sproutforms


---

## 2 answers

### Answer by username_1 on 2017-08-31. Score: 1

Sprout Forms v2.5.0 adds improved support for permissions. These permissions can be set per user group and now include:
- Manage Forms
- View Form Entries
-- Edit Form Entries
- Edit Settings

To allow a particular user group to create and edit forms, they will need the Manage Forms permission.


---

### Answer by username_2 on 2017-02-03. Score: 1

I ran into this as well. I only wanted to client to view the submissions but not edit the actual forms. I don't believe it's a bug they just didn't give it a separate permission.
Here's my workaround:
I edited all three sproutform templates in the _layouts folder.

base.html
elementindex.html
settings.html

I moved 
forms: {
  label: "Forms"|t,
  url: url('sproutforms/forms')
}

within the
if currentUser.can('editSproutFormsSettings')

Now the "Edit Form Settings" permission includes the actual forms.

> **Comments:**
> **username_2**: Only problem is that when the plugin gets updated it will probably overwrite the code.  

---

