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

---

Cari plugin

Plugin ini **belum teruji dangan 3 rilis besar WordPress**. Kemungkinan tidak lagi
dipelihara atau didukung, dan mungkin menghadapi masalah kompatibilitas bila digunakan
dengan versi WordPress yang lebih baru.

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

# Domain Based Role Assignment

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

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

 * [Detail](https://id.wordpress.org/plugins/domain-based-role-assignment/#description)
 * [Ulasan](https://id.wordpress.org/plugins/domain-based-role-assignment/#reviews)
 *  [Instalasi](https://id.wordpress.org/plugins/domain-based-role-assignment/#installation)
 * [Pengembangan](https://id.wordpress.org/plugins/domain-based-role-assignment/#developers)

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

## Deskripsi

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

## Instalasi

 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

## Tanya Jawab

### 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.

## Ulasan

Belum ada ulasan untuk plugin ini.

## Kontributor & Pengembang

“Domain Based Role Assignment” adalah perangkat lunak open source. Berikut ini mereka
yang sudah berkontribusi pada plugin ini.

Kontributor

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

[Terjemahkan “Domain Based Role Assignment” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/domain-based-role-assignment)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/domain-based-role-assignment/),
periksa [repositori SVN ](https://plugins.svn.wordpress.org/domain-based-role-assignment/),
atau mendaftar ke [log pengembangan](https://plugins.trac.wordpress.org/log/domain-based-role-assignment/)
melalui [RSS](https://plugins.trac.wordpress.org/log/domain-based-role-assignment/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

#### 1.0.0

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

## Meta

 *  Versi **1.0.0**
 *  Diperbarui **2 tahun yang lalu**
 *  Instalasi Aktif **30+**
 *  Versi WordPress ** 6.7 atau yang terbaru **
 *  Diuji hingga **6.7.5**
 *  Versi PHP ** 8.1 atau yang terbaru **
 *  Bahasa
 * [English (US)](https://wordpress.org/plugins/domain-based-role-assignment/)
 * Tag
 * [domain management](https://id.wordpress.org/plugins/tags/domain-management/)
   [user management](https://id.wordpress.org/plugins/tags/user-management/)[user roles](https://id.wordpress.org/plugins/tags/user-roles/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/domain-based-role-assignment/advanced/)

## Rating

No reviews have been submitted yet.

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

[Lihat semua ulasan](https://wordpress.org/support/plugin/domain-based-role-assignment/reviews/)

## Kontributor

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

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

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