Commit | Line | Data |
772c89c1 |
1 | package DBIx::Class::Schema::RestrictByUser::RestrictComp::Schema; |
2 | |
3 | use strict; |
4 | use warnings; |
5 | use base qw/DBIx::Class::AccessorGroup/; |
6 | |
7 | =head1 DESCRIPTION |
8 | |
9 | For general usage please see L<DBIx::Class::Schema::RestrictByUser>, the information |
10 | provided here is not meant for general use and is subject to change. In the interest |
11 | of transparency the functionality presented is documented, but all methods should be |
12 | considered private and, as such, subject to incompatible changes and removal. |
13 | |
14 | =head1 ADDITIONAL ACCESSORS |
15 | |
16 | =head2 user |
17 | |
18 | Store the user object used to restict resultsets |
19 | |
20 | =head2 restricted_prefix |
21 | |
22 | Store the prefix, if any, to use when looking for the appropriate resstrict |
23 | methods in the user object |
24 | |
25 | =cut |
26 | |
27 | __PACKAGE__->mk_group_accessors('simple' => 'user'); |
28 | __PACKAGE__->mk_group_accessors('simple' => 'restricted_prefix'); |
29 | |
30 | 1; |
31 | |
32 | =head1 SEE ALSO |
33 | |
34 | L<DBIx::Class::Schema::RestrictByUser>, |
35 | |
36 | =cut |