diff options
author | zotlabs <mike@macgirvin.com> | 2017-02-07 19:49:15 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-02-07 19:49:15 -0800 |
commit | 46d0e23e7bcb3bb1d000bae8dea7e52d4a1d018f (patch) | |
tree | c36215d4aec611fa1cd16c223d9715bf7c83b5f1 /Zotlabs/Lib/Permcat.php | |
parent | 2d3e20d96ea4dd08b982f9ff0fcfa94949fb853b (diff) | |
download | volse-hubzilla-46d0e23e7bcb3bb1d000bae8dea7e52d4a1d018f.tar.gz volse-hubzilla-46d0e23e7bcb3bb1d000bae8dea7e52d4a1d018f.tar.bz2 volse-hubzilla-46d0e23e7bcb3bb1d000bae8dea7e52d4a1d018f.zip |
atokens - we only need one permission column
Diffstat (limited to 'Zotlabs/Lib/Permcat.php')
-rw-r--r-- | Zotlabs/Lib/Permcat.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Zotlabs/Lib/Permcat.php b/Zotlabs/Lib/Permcat.php index a38645f73..525e55091 100644 --- a/Zotlabs/Lib/Permcat.php +++ b/Zotlabs/Lib/Permcat.php @@ -79,7 +79,7 @@ class Permcat { ], [ 'moderator', t('moderator','permcat'), [ 'view_stream','view_profile','view_contacts','view_storage','view_pages', - 'write_storage','post_wall','wite_pages','write_wiki','post_comments','post_like','tag_deliver', + 'write_storage','post_wall','write_pages','write_wiki','post_comments','post_like','tag_deliver', 'chat', 'republish' ] ] ]; @@ -101,10 +101,13 @@ class Permcat { } + static public function update($channel_id, $name,$permarr) { + PConfig::Set($channel_id,'permcat',$name,$permarr); + } - - - + static public function delete($channel_id,$name) { + PConfig::Delete($channel_id,'permcat',$name); + } }
\ No newline at end of file |