From e9fedf3e5cd63aea4da7a71f6647ee427c62fa49 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 5 Dec 2015 20:31:27 -0500 Subject: Rewrite of the authentication and authorization system --- app/Template/project/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Template/project/edit.php') diff --git a/app/Template/project/edit.php b/app/Template/project/edit.php index 8dcbb88f..188107d1 100644 --- a/app/Template/project/edit.php +++ b/app/Template/project/edit.php @@ -19,7 +19,7 @@ form->label(t('End date'), 'end_date') ?> form->text('end_date', $values, $errors, array('maxlength="10"'), 'form-date') ?> - user->isAdmin() || $this->user->isProjectAdministrationAllowed($project['id'])): ?> + user->hasProjectAccess('project', 'create', $project['id'])): ?> form->checkbox('is_private', t('Private project'), 1, $project['is_private'] == 1) ?> -- cgit v1.2.3