git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
auth: admin permissions per function
[minimedit.git]
/
foto
/
index.php
diff --git
a/foto/index.php
b/foto/index.php
index 358ef942aae9bf492c13358ad22b6cb685fbd4c1..550e7a3e674870ecf7909aba100a53ccc9fadf57 100644
(file)
--- a/
foto/index.php
+++ b/
foto/index.php
@@
-3,7
+3,7
@@
$intro = ob_get_clean();
$rootdir = $Page . $Args;
$rootdir = $Page . $Args;
-if ($User and $User->admin) {
+if ($User and $User->admin
('foto')
) {
$access = '🔓 Openbaar';
if (isset($PageAccess)) {
$access = "🔒 Bewoners";
$access = '🔓 Openbaar';
if (isset($PageAccess)) {
$access = "🔒 Bewoners";