mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-15 00:16:28 +08:00

Also converted the existing "JointPermission" usage to the new collapsed permission system.
19 lines
335 B
PHP
19 lines
335 B
PHP
<?php
|
|
|
|
namespace BookStack\Auth\Permissions;
|
|
|
|
use BookStack\Model;
|
|
|
|
/**
|
|
* @property int $id
|
|
* @property ?int $role_id
|
|
* @property ?int $user_id
|
|
* @property string $entity_type
|
|
* @property int $entity_id
|
|
* @property bool $view
|
|
*/
|
|
class CollapsedPermission extends Model
|
|
{
|
|
protected $table = 'entity_permissions_collapsed';
|
|
}
|