| 1 | <?php |
||
| 5 | class DefaultPermissions implements PermissionsInterface |
||
| 6 | { |
||
| 7 | 2 | public function canCreateItem($database, $type, $table) |
|
| 11 | |||
| 12 | 4 | public function canEditItem($database, $type, $table, $item = null) |
|
| 16 | |||
| 17 | 4 | public function canDeleteItem($database, $type, $table, $item) |
|
| 21 | |||
| 22 | 6 | public function canCreateTable($database, $type) |
|
| 26 | |||
| 27 | 8 | public function canEditTable($database, $type, $table) |
|
| 31 | |||
| 32 | 4 | public function canDeleteTable($database, $type, $table) |
|
| 36 | |||
| 37 | 8 | public function canCreateDatabase() |
|
| 41 | |||
| 42 | 6 | public function canEditDatabase($database) |
|
| 46 | |||
| 47 | 8 | public function canDeleteDatabase($database) |
|
| 51 | |||
| 52 | 6 | public function canExecuteCommands() |
|
| 56 | } |
||
| 57 |