{"id":213158,"date":"2024-12-09T20:50:58","date_gmt":"2024-12-09T20:50:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/domain-based-role-assignment\/"},"modified":"2024-12-09T20:50:49","modified_gmt":"2024-12-09T20:50:49","slug":"domain-based-role-assignment","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/domain-based-role-assignment\/","author":23163766,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"6.7.5","requires":"6.7","requires_php":"8.1","requires_plugins":null,"header_name":"Domain Based Role Assignment","header_author":"WAV","header_description":"Automatically assigns user roles based on email domains during registration.","assets_banners_color":"","last_updated":"2024-12-09 20:50:49","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wearevolume.com\/domain-based-role-assignment","header_author_uri":"https:\/\/wearevolume.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":386,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.0":"<p>Initial release<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Domain management interface","2":"Adding new domain rules","3":"Current domain rules table"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[34902,235639,235638,2461,11917],"plugin_category":[],"plugin_contributors":[235640],"plugin_business_model":[],"class_list":["post-213158","plugin","type-plugin","status-publish","hentry","plugin_tags-domain-management","plugin_tags-email-domains","plugin_tags-role-assignment","plugin_tags-user-management","plugin_tags-user-roles","plugin_contributors-wearevolume","plugin_committers-wearevolume"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/domain-based-role-assignment.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Domain Based Role Assignment automatically assigns user roles based on their email domains during registration. It provides a simple admin interface to manage domain-to-role mappings and streamlines user role management.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li>Automatic Role Assignment: Automatically assigns roles to users based on their email domain during registration<\/li>\n<li>Domain Management: Easy-to-use admin interface to manage domain-role mappings<\/li>\n<li>Works with Role Editor: Compatible with all WordPress roles, including custom roles<\/li>\n<li>Simple Administration: Add, view, and delete domain rules through a clean admin interface<\/li>\n<li>Bulk User Management: When removing a domain rule, preserves user accounts while managing role assignments<\/li>\n<li>Security: Implements WordPress security best practices and nonce verification<\/li>\n<\/ul>\n\n<h3>Configuration<\/h3>\n\n<p>= Adding Domain Rules =\n1. Go to 'Settings &gt; Domain Role Assignment' in your WordPress admin panel\n2. In the \"Add New Domain Rule\" section:\n   * Enter a domain (e.g., \"example.com\")\n   * Select the role to assign\n   * Click \"Add Domain Rule\"<\/p>\n\n<h4>Managing Existing Rules<\/h4>\n\n<ol>\n<li>View all current domain rules in the \"Current Domain Rules\" table<\/li>\n<li>Each rule shows:\n\n<ul>\n<li>The domain<\/li>\n<li>The assigned role<\/li>\n<li>Option to delete the rule<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<h3>Technical Details<\/h3>\n\n<p>Requires WordPress 5.0 or higher and PHP 7.2 or higher.<\/p>\n\n<h3>Support<\/h3>\n\n<p>For support:\n1. Check configuration\n2. Verify WordPress version compatibility\n3. Check error logs\n4. Ensure proper permissions<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/domain-based-role-assignment<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Navigate to 'Settings &gt; Domain Role Assignment' to configure domain rules<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20happens%20to%20existing%20users%20when%20i%20remove%20a%20domain%20rule%3F'><h3>What happens to existing users when I remove a domain rule?<\/h3><\/dt>\n<dd><p>Existing users keep their current roles. The rule removal only affects future registrations.<\/p><\/dd>\n<dt id='does%20this%20work%20with%20custom%20roles%3F'><h3>Does this work with custom roles?<\/h3><\/dt>\n<dd><p>Yes, the plugin is compatible with all WordPress roles, including those created by Role Editor or similar plugins.<\/p><\/dd>\n<dt id='can%20i%20use%20wildcards%20in%20domain%20rules%3F'><h3>Can I use wildcards in domain rules?<\/h3><\/dt>\n<dd><p>Not in the current version, but this feature is planned for a future release.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Basic domain-role mapping<\/li>\n<li>Admin interface<\/li>\n<li>Automatic role assignment<\/li>\n<li>Domain rule management<\/li>\n<\/ul>","raw_excerpt":"Automatically assign WordPress user roles based on email domains during registration with an easy-to-use domain management interface.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/213158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=213158"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wearevolume"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=213158"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=213158"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=213158"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=213158"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=213158"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=213158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}