diff options
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/FixMyBarangay.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/FixMyBarangay.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FixMyBarangay.pm b/perllib/FixMyStreet/Cobrand/FixMyBarangay.pm index 53bf9f3b4..1eda6cf43 100644 --- a/perllib/FixMyStreet/Cobrand/FixMyBarangay.pm +++ b/perllib/FixMyStreet/Cobrand/FixMyBarangay.pm @@ -33,6 +33,9 @@ sub only_authed_can_create { return 1; } +# effectively allows barangay staff to hide reports +sub council_id { return [ 1, 2 ]; } + sub areas_on_around { return [ 1, 2 ]; } @@ -41,8 +44,6 @@ sub can_support_problems { return 1; } -sub reports_by_body { 1 } - sub default_show_name { my $self = shift; @@ -55,5 +56,8 @@ sub send_questionnaires { return 0; } +# let staff hide reports in their own barangay +sub users_can_hide { 1 } + 1; |