<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Role Management w/o the plugin?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/role-management-wo-the-plugin</link>
		<description>Gravity Support Forums Topic: Role Management w/o the plugin?</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:36:01 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/role-management-wo-the-plugin" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Role Management w/o the plugin?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/role-management-wo-the-plugin#post-8733</link>
			<pubDate>Wed, 18 Aug 2010 10:19:47 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">8733@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not sure if Help is able to be hidden now that you mention it.  I'll have to look into it.  Have you tried gravityforms_help?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>northbounddesign on "Role Management w/o the plugin?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/role-management-wo-the-plugin#post-8684</link>
			<pubDate>Tue, 17 Aug 2010 12:25:27 +0000</pubDate>
			<dc:creator>northbounddesign</dc:creator>
			<guid isPermaLink="false">8684@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What about removing the help option? how would I do that?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Role Management w/o the plugin?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/role-management-wo-the-plugin#post-8680</link>
			<pubDate>Tue, 17 Aug 2010 10:32:33 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">8680@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It looks like the Addons have a slightly different way to check for permissions. They will only honor the role management settings if the Members plugin is installed. What you could do is trick them into thinking the plugin is installed by adding the following line of code to your theme's functions.php.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;function members_get_capabilities(){}&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>northbounddesign on "Role Management w/o the plugin?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/role-management-wo-the-plugin#post-8669</link>
			<pubDate>Tue, 17 Aug 2010 08:03:06 +0000</pubDate>
			<dc:creator>northbounddesign</dc:creator>
			<guid isPermaLink="false">8669@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Another question - I can't seem to remove the Campaign Monitor option....&#60;/p&#62;
&#60;p&#62;I've added this to the above code&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;#39;gravityforms_campaignmonitor&#38;#39; =&#38;gt; false,&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and it doesn't work. Thoughts?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>northbounddesign on "Role Management w/o the plugin?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/role-management-wo-the-plugin#post-8253</link>
			<pubDate>Thu, 05 Aug 2010 11:40:11 +0000</pubDate>
			<dc:creator>northbounddesign</dc:creator>
			<guid isPermaLink="false">8253@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I should have thought of that! Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Role Management w/o the plugin?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/role-management-wo-the-plugin#post-8244</link>
			<pubDate>Thu, 05 Aug 2010 09:34:10 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">8244@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I copied and pasted your second code snippet and it worked for me. I think the problem is that you had initially created the role without the Gravity Forms permissions. The way the code is written, it won't re-create the role with the new permissions if it has already been created. Try executing the following to remove the role, then try your code again.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;remove_role(&#38;quot;adminlite&#38;quot;);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Role Management w/o the plugin?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/role-management-wo-the-plugin#post-8227</link>
			<pubDate>Wed, 04 Aug 2010 17:59:59 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">8227@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sending this over to our lead developer so he can take a look...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>northbounddesign on "Role Management w/o the plugin?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/role-management-wo-the-plugin#post-8219</link>
			<pubDate>Wed, 04 Aug 2010 15:59:12 +0000</pubDate>
			<dc:creator>northbounddesign</dc:creator>
			<guid isPermaLink="false">8219@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm customizing the editor role for my clients and would like them to be able to access gravity forms without relying on a plugin. This is the code for my custom role in the functions.php file...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ( !get_role(&#38;#39;adminlite&#38;#39;) )
{
	$caps = get_role(&#38;#39;editor&#38;#39;)-&#38;gt;capabilities;
	$caps = array_merge( $caps, array(
		&#38;#39;install_plugins&#38;#39; =&#38;gt; true,
		&#38;#39;activate_plugins&#38;#39; =&#38;gt; true,
		&#38;#39;update_plugins&#38;#39; =&#38;gt; true,
		&#38;#39;delete_plugins&#38;#39; =&#38;gt; true,
		&#38;#39;list_users&#38;#39; =&#38;gt; true,
		&#38;#39;create_users&#38;#39; =&#38;gt; true,
		&#38;#39;edit_users&#38;#39; =&#38;gt; true,
		&#38;#39;delete_users&#38;#39; =&#38;gt; true,
		&#38;#39;unfiltered_upload&#38;#39; =&#38;gt; true,
		&#38;#39;edit_theme_options&#38;#39; =&#38;gt; true
	)); 

	add_role( &#38;#39;adminlite&#38;#39;, &#38;#39;Administrator Lite&#38;#39;, $caps );
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I would like to add gravity forms to it yet the following code doesn't appear to work...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ( !get_role(&#38;#39;adminlite&#38;#39;) )
{
	$caps = get_role(&#38;#39;editor&#38;#39;)-&#38;gt;capabilities;
	$caps = array_merge( $caps, array(
		&#38;#39;install_plugins&#38;#39; =&#38;gt; true,
		&#38;#39;activate_plugins&#38;#39; =&#38;gt; true,
		&#38;#39;update_plugins&#38;#39; =&#38;gt; true,
		&#38;#39;delete_plugins&#38;#39; =&#38;gt; true,
		&#38;#39;list_users&#38;#39; =&#38;gt; true,
		&#38;#39;create_users&#38;#39; =&#38;gt; true,
		&#38;#39;edit_users&#38;#39; =&#38;gt; true,
		&#38;#39;delete_users&#38;#39; =&#38;gt; true,
		&#38;#39;unfiltered_upload&#38;#39; =&#38;gt; true,
		&#38;#39;edit_theme_options&#38;#39; =&#38;gt; true,
		&#38;#39;gravityforms_create_form&#38;#39; =&#38;gt; true,
		&#38;#39;gravityforms_delete_entries&#38;#39; =&#38;gt; true,
		&#38;#39;gravityforms_delete_forms&#38;#39; =&#38;gt; true,
		&#38;#39;gravityforms_edit_entries&#38;#39; =&#38;gt; true,
		&#38;#39;gravityforms_edit_entry_notes&#38;#39; =&#38;gt; true,
		&#38;#39;gravityforms_edit_forms&#38;#39; =&#38;gt; true,
		&#38;#39;gravityforms_edit_settings&#38;#39; =&#38;gt; true,
		&#38;#39;gravityforms_export_entries&#38;#39; =&#38;gt; true,
		&#38;#39;gravityforms_view_entries&#38;#39; =&#38;gt; true,
		&#38;#39;gravityforms_view_entry_notes&#38;#39; =&#38;gt; true
	)); 

	add_role( &#38;#39;adminlite&#38;#39;, &#38;#39;Administrator Lite&#38;#39;, $caps );
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Can Anyone help me out?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
