| 1 | package Crop::Rights::Perm; | ||
| 2 | use base qw/ Crop::Object::Simple /; | ||
| 3 | |||
| 4 | =begin nd | ||
| 5 | Class: Crop::Rights::Perm | ||
| 6 | Action such a 'READ','WRITE', and so on. | ||
| 7 | =cut | ||
| 8 | |||
| 9 | use v5.14; | ||
| 10 | use warnings; | ||
| 11 | |||
| 12 | =begin nd | ||
| 13 | Variable: our %Attributes | ||
| 14 | Class attributes: | ||
| 15 | |||
| 16 | id - id from <Crop::Object::Simple> | ||
| 17 | code - CODE for perl use | ||
| 18 | name - name | ||
| 19 | description - description | ||
| 20 | id_file - icon | ||
| 21 | =cut | ||
| 22 | our %Attributes = ( | ||
| 23 | code => {mode => 'read'}, | ||
| 24 | name => undef, | ||
| 25 | description => undef, | ||
| 26 | id_file => undef, | ||
| 27 | ); | ||
| 28 | |||
| 29 | =begin nd | ||
| 30 | Method: Table ( ) | ||
| 31 | Table in Warehouse. | ||
| 32 | |||
| 33 | Returns: | ||
| 34 | 'perm' string | ||
| 35 | =cut | ||
| 36 | sub Table { 'perm' } | ||
| 37 | |||
| 38 | 1; |