API docs     >     Extensions     >     FileExtension

FileExtension->addPermission

Description

addPermission ( $code, $name )
Adds a custom permission for this Extension

Parameters

$code
string
Permission code (Identifier)
$name
string
Name (displayed in the Usergroup administration)