aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/NativeWiki.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-01 18:05:02 -0800
committerzotlabs <mike@macgirvin.com>2017-02-01 18:05:02 -0800
commit94290102b6e1b29b29c58318670da797394550c1 (patch)
tree12bdfade060ccab26480913583ad544239c2e1f5 /Zotlabs/Lib/NativeWiki.php
parentf94c244b9f6d1d1ccda36adeda08f2d04684a4a2 (diff)
downloadvolse-hubzilla-94290102b6e1b29b29c58318670da797394550c1.tar.gz
volse-hubzilla-94290102b6e1b29b29c58318670da797394550c1.tar.bz2
volse-hubzilla-94290102b6e1b29b29c58318670da797394550c1.zip
tested extensible permissions by adding wiki permissions. Discovered a couple of issues that needed attention in the process.
Diffstat (limited to 'Zotlabs/Lib/NativeWiki.php')
-rw-r--r--Zotlabs/Lib/NativeWiki.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/NativeWiki.php b/Zotlabs/Lib/NativeWiki.php
index ccb0ff150..519102d24 100644
--- a/Zotlabs/Lib/NativeWiki.php
+++ b/Zotlabs/Lib/NativeWiki.php
@@ -201,7 +201,7 @@ class NativeWiki {
else {
// TODO: Create a new permission setting for wiki analogous to webpages. Until
// then, use webpage permissions
- $write = perm_is_allowed($owner_id, $observer_hash,'write_pages');
+ $write = perm_is_allowed($owner_id, $observer_hash,'write_wiki');
return array('read' => true, 'write' => $write, 'success' => true);
}
}