Permission Details

Delete Users

Users Delete
Edit
Description

Can delete user accounts

Permission Details
Resource

Users

System resource being protected
Action

Delete

Operation that can be performed
Internal Name

users.delete

Used in code and API

Assigned to Roles (2)

100
Super Administrator
Level 100 access
Granted Sep 27, 2025
80
Administrator
Level 80 access
Granted Sep 27, 2025

Usage in Code

Check Permission in Controller
// Check if current user has this permission
if (!$this->hasPermission('users', 'delete')) {
    return $this->respond(['error' => 'Access denied'], 403);
}
Check Permission in View
<?php if (hasPermission('users', 'delete')): ?>
    <button class="btn btn-primary">Delete</button>
<?php endif; ?>
API Endpoint Protection
// In routes or middleware
$routes->post('users', 'Controller::delete', [
    'permission' => 'users.delete'
]);

Permission Summary

Internal Name:
users.delete
Display Name:
Delete Users
Resource:
Users
Action:
Delete
Created:
Sep 27, 2025 12:47 AM
Last Updated:
Sep 27, 2025 12:47 AM

Assignment Statistics

Assigned Roles: 2
Total Users: 0
Status: In Use

Quick Actions

Edit Permission