diff options
| author | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-06-06 18:34:51 +0300 |
|---|---|---|
| committer | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-06-06 18:34:51 +0300 |
| commit | b6fea434ad2888de8dbc87d25ba0444c991d42d6 (patch) | |
| tree | 55ff4ea770c3c8da834ea37bb5a50cf53e72381a /public/app/controllers/Office.php | |
| parent | 1388a64651f1c61a6aafc32f8e3e60f7a6ffd339 (diff) | |
| download | gyraf1gov-b6fea434ad2888de8dbc87d25ba0444c991d42d6.tar.gz gyraf1gov-b6fea434ad2888de8dbc87d25ba0444c991d42d6.tar.bz2 gyraf1gov-b6fea434ad2888de8dbc87d25ba0444c991d42d6.zip | |
send invitation(s) form is ready
Diffstat (limited to 'public/app/controllers/Office.php')
| -rw-r--r-- | public/app/controllers/Office.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/public/app/controllers/Office.php b/public/app/controllers/Office.php index c67249a..7a542eb 100644 --- a/public/app/controllers/Office.php +++ b/public/app/controllers/Office.php @@ -23,7 +23,6 @@ class Office { ## PERMITION ## ------------------------------------------------------------------------- - /** is admin or permited * * shortcut method for checking access authorization @@ -52,7 +51,6 @@ class Office { ## SERVE FILE ## ------------------------------------------------------------------------- - /** serve file by file_path * (request is valid only for admin users) * @@ -116,7 +114,6 @@ class Office { ## secretarial support / serve forms for teachers' requests and applications ## ------------------------------------------------------------------------- - /** request any (empty/new) petition form * * The method acts as an authorization checker and internal router @@ -268,7 +265,6 @@ class Office { ## handle submits of forms ## ------------------------------------------------------------------------- - /** add_petition * * handle an add petition request (petition form is submited) @@ -309,7 +305,6 @@ class Office { ## LIST PETITIONS ## ------------------------------------------------------------------------- - public static function user_petitions() { $manager = new App_manager(); // use APP Manager @@ -326,7 +321,6 @@ class Office { } - public static function all_petitions() { if (Auth::in_admin_group()) { @@ -338,7 +332,6 @@ class Office { } - public static function petition_copy($sign) { if (Auth::in_admin_group()) { @@ -359,6 +352,7 @@ class Office { + ## TICKET METHODS (create, remove) ## tickets eliminate CSRF attacks ## ------------------------------------------------------------------------- @@ -415,7 +409,6 @@ class Office { - ## ADMIN METHODS (insert, updated etc.) ## ------------------------------------------------------------------------- |
