Title: Domain Based Role Assignment
Author: We Are Volume
Published: <strong>9 december 2024</strong>
Last modified: 9 december 2024

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

![](https://s.w.org/plugins/geopattern-icon/domain-based-role-assignment.svg)

# Domain Based Role Assignment

 Door [We Are Volume](https://profiles.wordpress.org/wearevolume/)

[Download](https://downloads.wordpress.org/plugin/domain-based-role-assignment.zip)

 * [Details](https://nl.wordpress.org/plugins/domain-based-role-assignment/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/domain-based-role-assignment/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/domain-based-role-assignment/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/domain-based-role-assignment/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/domain-based-role-assignment/)

## Beschrijving

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.

#### Key Features

 * Automatic Role Assignment: Automatically assigns roles to users based on their
   email domain during registration
 * Domain Management: Easy-to-use admin interface to manage domain-role mappings
 * Works with Role Editor: Compatible with all WordPress roles, including custom
   roles
 * Simple Administration: Add, view, and delete domain rules through a clean admin
   interface
 * Bulk User Management: When removing a domain rule, preserves user accounts while
   managing role assignments
 * Security: Implements WordPress security best practices and nonce verification

### Configuration

= Adding Domain Rules =
 1. Go to ‘Settings > Domain Role Assignment’ in your WordPress
admin panel 2. In the “Add New Domain Rule” section: * Enter a domain (e.g., “example.
com”) * Select the role to assign * Click “Add Domain Rule”

#### Managing Existing Rules

 1. View all current domain rules in the “Current Domain Rules” table
 2. Each rule shows:
 3.  * The domain
     * The assigned role
     * Option to delete the rule

### Technical Details

Requires WordPress 5.0 or higher and PHP 7.2 or higher.

### Support

For support:
 1. Check configuration 2. Verify WordPress version compatibility 3.
Check error logs 4. Ensure proper permissions

## Installatie

 1. Upload the plugin files to `/wp-content/plugins/domain-based-role-assignment` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Navigate to ‘Settings > Domain Role Assignment’ to configure domain rules

## FAQ

### What happens to existing users when I remove a domain rule?

Existing users keep their current roles. The rule removal only affects future registrations.

### Does this work with custom roles?

Yes, the plugin is compatible with all WordPress roles, including those created 
by Role Editor or similar plugins.

### Can I use wildcards in domain rules?

Not in the current version, but this feature is planned for a future release.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“Domain Based Role Assignment” is open source software. De volgende personen hebben
bijgedragen aan deze plugin.

Bijdragers

 *   [ We Are Volume ](https://profiles.wordpress.org/wearevolume/)

[Vertaal “Domain Based Role Assignment” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/domain-based-role-assignment)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/domain-based-role-assignment/),
haal de [SVN repository](https://plugins.svn.wordpress.org/domain-based-role-assignment/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/domain-based-role-assignment/)
via [RSS](https://plugins.trac.wordpress.org/log/domain-based-role-assignment/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release
 * Basic domain-role mapping
 * Admin interface
 * Automatic role assignment
 * Domain rule management

## Meta

 *  Versie **1.0.0**
 *  Laatst geüpdatet **2 jaar geleden**
 *  Actieve installaties **30+**
 *  WordPress versie ** 6.7 of nieuwer **
 *  Getest t/m **6.7.10**
 *  PHP versie ** 8.1 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/domain-based-role-assignment/)
 * Tags
 * [domain management](https://nl.wordpress.org/plugins/tags/domain-management/)
   [user management](https://nl.wordpress.org/plugins/tags/user-management/)[user roles](https://nl.wordpress.org/plugins/tags/user-roles/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/domain-based-role-assignment/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Je beoordeling](https://wordpress.org/support/plugin/domain-based-role-assignment/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/domain-based-role-assignment/reviews/)

## Bijdragers

 *   [ We Are Volume ](https://profiles.wordpress.org/wearevolume/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/domain-based-role-assignment/)