From 083b5da967d52780d0ff2f9e3a01484c45eed38d Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 19 Sep 2014 02:22:12 -0700 Subject: doc updates --- doc/html/permissions_8php.html | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index f4baf95c3..ef35b882f 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -124,6 +124,8 @@ Functions    get_role_perms ($role)   + role_selector ($current) + 

Function Documentation

@@ -236,11 +238,12 @@ Functions

get_role_perms($role)

Parameters
- +
string$roleGiven a string for the channel role ('social','forum', etc) return an array of all permission fields pre-filled for this role. This includes the channel permission scope indicators as well as perms_auto: The permissions to apply automatically on receipt of a connection request perms_follow: The permissions to apply when initiating a connection request to another channel perms_accept: The permissions to apply when accepting a connection request from another channel (not automatic)
string$roleGiven a string for the channel role ('social','forum', etc) return an array of all permission fields pre-filled for this role. This includes the channel permission scope indicators (anything beginning with 'channel_') as well as perms_auto: true or false to create auto-permissions for this channel perms_follow: The permissions to apply when initiating a connection request to another channel perms_accept: The permissions to apply when accepting a connection request from another channel (not automatic) default_collection: true or false to make the default ACL include the channel's default collection directory_publish: true or false to publish this channel in the directory Any attributes may be extended (new roles defined) and modified (specific permissions altered) by plugins
-

Any attributes may be extended (new roles defined) and modified (specific permissions altered) by plugins

+ +

Referenced by connedit_content(), create_identity(), and new_contact().

@@ -276,6 +279,24 @@ Functions

Referenced by Conversation\add_thread(), advanced_profile(), api_statuses_home_timeline(), api_statuses_repeat(), attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), attach_store(), block_content(), chat_content(), chatsvc_init(), check_list_permissions(), common_content(), common_friends_visitor_widget(), contact_block(), RedDirectory\createDirectory(), RedDirectory\createFile(), RedFile\delete(), diaspora_asphoto(), diaspora_comment(), diaspora_like(), diaspora_photo(), diaspora_post(), diaspora_reshare(), display_content(), editblock_content(), get_feed_for(), RedDirectory\getChild(), RedDirectory\getChildren(), item_post(), like_content(), local_dir_update(), photo_init(), photo_upload(), photos_album_widget(), photos_albums_list(), photos_content(), photos_list_photos(), photos_post(), poco_init(), post_activity_item(), post_post(), process_delivery(), process_mail_delivery(), profile_content(), profile_load(), profile_sidebar(), RedChannelList(), search_content(), Conversation\set_mode(), RedBrowser\set_writeable(), RedDirectory\setName(), RedFile\setName(), subthread_content(), tag_deliver(), tgroup_check(), update_birthdays(), viewconnections_content(), widget_archive(), widget_categories(), widget_item(), widget_photo_albums(), widget_tagcloud_wall(), z_readdir(), and zot_feed().

+ + + +
+
+ + + + + + + + +
role_selector ( $current)
+
+ +

Referenced by new_channel_content().

+
-- cgit v1.2.3