openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 976d33a6d13870dde785deb89599fcee27f1cee9
parent 2157bce4946d3218ae0941763255c7c0558da53e
Author: dankert <devnull@localhost>
Date:   Sun, 26 Dec 2004 21:24:16 +0100

Korrektur Abfrage Berechtigungen

Diffstat:
actionClasses/ProjectAction.class.php | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/actionClasses/ProjectAction.class.php b/actionClasses/ProjectAction.class.php @@ -20,7 +20,10 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // --------------------------------------------------------------------------- // $Log$ -// Revision 1.6 2004-12-19 15:16:02 dankert +// Revision 1.7 2004-12-26 20:24:16 dankert +// Korrektur Abfrage Berechtigungen +// +// Revision 1.6 2004/12/19 15:16:02 dankert // div. Korrekturen // // Revision 1.5 2004/12/15 23:25:32 dankert @@ -55,6 +58,9 @@ class ProjectAction extends Action function ProjectAction() { + if ( !$this->userIsAdmin() ) + die('n/a'); + if ( $this->getRequestId()!=0 ) { $this->project = new Project( $this->getRequestId() );