Permission Details

Delete Permissions

Permissions Delete
Edit
Description

Can delete permissions

Permission Details
Resource

Permissions

System resource being protected
Action

Delete

Operation that can be performed
Internal Name

permissions.delete

Used in code and API

Assigned to Roles (1)

100
Super Administrator
Level 100 access
Granted Sep 27, 2025

Usage in Code

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

Permission Summary

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

Assignment Statistics

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

Quick Actions

Edit Permission