Crop/Rights/Granted.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
Table
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Crop::Rights::Granted;
2 use base qw/ Crop::Object /;
3  
4 =begin nd
5 Class: Crop::Rights::Granted
6 Privileges granted to Role.
7 =cut
8  
9 use v5.14;
10 use warnings;
11  
12 =begin nd
13 Variable: our %Attributes
14 Class attributes:
15  
16 id_role - role
17 id_realm - privilege realm
18 id_perm - privilege permission
19 negative - cancel previous granted privilege
20 description - why granted?
21 =cut
22 our %Attributes = (
23 id_role => {key => 'extern'},
24 id_realm => {key => 'extern'},
25 id_perm => {key => 'extern'},
26 negative => undef,
27 description => undef,
28 );
29  
30 =begin nd
31 Method: Table ( )
32 Table in Warehouse.
33  
34 Returns:
35 'granted' string
36 =cut
37 sub Table { 'granted' }
38  
39 1;