mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
17 lines
319 B
PHP
17 lines
319 B
PHP
<?php
|
|
/**
|
|
* A PermissionRoleCode represents a single permission code assigned to a {@link PermissionRole}.
|
|
*
|
|
* @package sapphire
|
|
* @subpackage security
|
|
*/
|
|
class PermissionRoleCode extends DataObject {
|
|
static $db = array(
|
|
"Code" => "Varchar",
|
|
);
|
|
|
|
static $has_one = array(
|
|
"Role" => "PermissionRole",
|
|
);
|
|
}
|