line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package RapidApp::Template::Access::Dummy; |
2
|
4
|
|
|
4
|
|
26
|
use strict; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
99
|
|
3
|
4
|
|
|
4
|
|
18
|
use warnings; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
226
|
|
4
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
19
|
use RapidApp::Util qw(:all); |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
1434
|
|
6
|
|
|
|
|
|
|
|
7
|
4
|
|
|
4
|
|
29
|
use Moo; |
|
4
|
|
|
|
|
13
|
|
|
4
|
|
|
|
|
25
|
|
8
|
4
|
|
|
4
|
|
9694
|
use Types::Standard qw(:all); |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
74
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=pod |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 DESCRIPTION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
Dummy Access class which provides open access |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=cut |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
extends 'RapidApp::Template::Access'; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
# Simple bool permission methods: |
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
0
|
|
sub template_viewable { 1 } |
23
|
0
|
|
|
0
|
0
|
|
sub template_readable { 1 } |
24
|
0
|
|
|
0
|
0
|
|
sub template_writable { 1 } |
25
|
0
|
|
|
0
|
0
|
|
sub template_creatable { 1 } |
26
|
0
|
|
|
0
|
0
|
|
sub template_deletable { 1 } |
27
|
0
|
|
|
0
|
0
|
|
sub template_admin_tpl { 1 } |
28
|
0
|
|
|
0
|
0
|
|
sub template_non_admin_tpl { 0 } |
29
|
0
|
|
|
0
|
0
|
|
sub template_external_tpl { 0 } |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |