Permission Details

Connect Social Accounts

Social Accounts Create
Edit
Description

Can connect new social accounts

Permission Details
Resource

Social Accounts

System resource being protected
Action

Create

Operation that can be performed
Internal Name

social_accounts.create

Used in code and API

Assigned to Roles (3)

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

Usage in Code

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

Permission Summary

Internal Name:
social_accounts.create
Display Name:
Connect Social Accounts
Resource:
Social Accounts
Action:
Create
Created:
Sep 27, 2025 12:47 AM
Last Updated:
Sep 27, 2025 12:47 AM

Assignment Statistics

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

Quick Actions

Edit Permission