From 1199fe415a4fa19f34ca795cba200f795597c29e Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 1 Aug 2014 01:23:50 -0700 Subject: doc updates --- doc/html/permissions_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index 26202ada9..5ef1c6ef8 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -248,7 +248,7 @@ 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(), 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(), 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().

+

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(), 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().

-- cgit v1.2.3 From 55aa0c1041e4506c8980377cfbdee8eb58188e19 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 8 Aug 2014 15:26:36 -0700 Subject: doc updates --- doc/html/permissions_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index 5ef1c6ef8..24c4d09f4 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -154,7 +154,7 @@ Functions
-

Referenced by collect_recipients().

+

Referenced by collect_recipients().

-- cgit v1.2.3 From 9f22f28d2f4bae5fa2a4947fc01af6200a5a5223 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 22 Aug 2014 15:51:03 -0700 Subject: doc update --- doc/html/permissions_8php.html | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index 24c4d09f4..f4baf95c3 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -122,6 +122,8 @@ Functions    site_default_perms ()   + get_role_perms ($role) + 

Function Documentation

@@ -216,6 +218,30 @@ Functions

Referenced by connedit_content(), create_identity(), get_all_perms(), mail_post(), new_contact(), perm_is_allowed(), site_default_perms(), and zot_refresh().

+ + + +
+
+ + + + + + + + +
get_role_perms ( $role)
+
+

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)
+
+
+

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

+
@@ -248,7 +274,7 @@ 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(), 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().

+

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().

-- cgit v1.2.3 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 From 1e7fbac6c1a26e6ae5be18ce3e5332f222bc2977 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 26 Sep 2014 01:52:30 -0700 Subject: doc updates, clean up buttons on PM edit template to match other edit buttons --- doc/html/permissions_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index ef35b882f..774453e51 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -277,7 +277,7 @@ 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().

+

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_conversation(), 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().

-- cgit v1.2.3 From f5623ae11d9ec2097af3d5018289bc84672bf162 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 3 Oct 2014 03:34:50 -0700 Subject: doc updates --- doc/html/permissions_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index 774453e51..ec699c4d0 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -277,7 +277,7 @@ 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_conversation(), 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().

+

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_conversation(), 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(), p_init(), 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().

-- cgit v1.2.3 From 8e7e488ffe92030707a792584adecc93cd9a3708 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 10 Oct 2014 00:13:00 -0700 Subject: doc updates --- doc/html/permissions_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index ec699c4d0..b70ba43d6 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -277,7 +277,7 @@ 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_conversation(), 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(), p_init(), 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().

+

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_conversation(), 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(), p_init(), 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(), RedMatrix\RedDAV\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().

-- cgit v1.2.3 From 478e7c4479f0c994fb9119d5b44032cc072b7c0a Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 19 Oct 2014 15:54:51 -0700 Subject: doc updates --- doc/html/permissions_8php.html | 4 ++-- 1 file changed, 2 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 b70ba43d6..8ae3220ff 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -243,7 +243,7 @@ Functions -

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

+

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

@@ -277,7 +277,7 @@ 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_conversation(), 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(), p_init(), 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(), RedMatrix\RedDAV\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().

+

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(), RedMatrix\RedDAV\RedDirectory\createDirectory(), RedMatrix\RedDAV\RedDirectory\createFile(), RedMatrix\RedDAV\RedFile\delete(), diaspora_asphoto(), diaspora_comment(), diaspora_conversation(), diaspora_like(), diaspora_photo(), diaspora_post(), diaspora_reshare(), display_content(), editblock_content(), get_feed_for(), RedMatrix\RedDAV\RedDirectory\getChild(), RedMatrix\RedDAV\RedDirectory\getChildren(), item_post(), like_content(), local_dir_update(), p_init(), 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(), RedMatrix\RedDAV\RedBrowser\set_writeable(), RedMatrix\RedDAV\RedFile\setName(), RedMatrix\RedDAV\RedDirectory\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().

-- cgit v1.2.3 From 5ede7bd6542a2d0cac7ee0a42c9c13267d78bb98 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 24 Oct 2014 04:16:45 -0700 Subject: doc updates --- doc/html/permissions_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index 8ae3220ff..d7cdd11e6 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -201,7 +201,7 @@ Functions
Returns
: array of all permissions, key is permission name, value is true or false
-

Referenced by achievements_content(), blocks_content(), change_channel(), channel_content(), connedit_content(), editlayout_content(), editwebpage_content(), filestorage_content(), layouts_content(), like_content(), page_content(), webpages_content(), zfinger_init(), and zot_refresh().

+

Referenced by achievements_content(), blocks_content(), change_channel(), channel_content(), connedit_content(), editlayout_content(), editwebpage_content(), filestorage_content(), layouts_content(), like_content(), page_init(), webpages_content(), zfinger_init(), and zot_refresh().

-- cgit v1.2.3 From 7f0bd5a6e5f8963ebf0c48f7919b5b7dc420390c Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 31 Oct 2014 05:05:31 -0700 Subject: doc updates --- doc/html/permissions_8php.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index d7cdd11e6..96d65b44b 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -218,7 +218,7 @@ Functions @@ -243,7 +243,7 @@ Functions -

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

+

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

@@ -277,7 +277,7 @@ 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(), RedMatrix\RedDAV\RedDirectory\createDirectory(), RedMatrix\RedDAV\RedDirectory\createFile(), RedMatrix\RedDAV\RedFile\delete(), diaspora_asphoto(), diaspora_comment(), diaspora_conversation(), diaspora_like(), diaspora_photo(), diaspora_post(), diaspora_reshare(), display_content(), editblock_content(), get_feed_for(), RedMatrix\RedDAV\RedDirectory\getChild(), RedMatrix\RedDAV\RedDirectory\getChildren(), item_post(), like_content(), local_dir_update(), p_init(), 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(), RedMatrix\RedDAV\RedBrowser\set_writeable(), RedMatrix\RedDAV\RedFile\setName(), RedMatrix\RedDAV\RedDirectory\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().

+

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(), RedMatrix\RedDAV\RedDirectory\createDirectory(), RedMatrix\RedDAV\RedDirectory\createFile(), RedMatrix\RedDAV\RedFile\delete(), diaspora_asphoto(), diaspora_comment(), diaspora_conversation(), diaspora_like(), diaspora_photo(), diaspora_post(), diaspora_reshare(), display_content(), editblock_content(), get_feed_for(), RedMatrix\RedDAV\RedDirectory\getChild(), RedMatrix\RedDAV\RedDirectory\getChildren(), item_post(), like_content(), local_dir_update(), p_init(), 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(), RedMatrix\RedDAV\RedBrowser\set_writeable(), RedMatrix\RedDAV\RedFile\setName(), RedMatrix\RedDAV\RedDirectory\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().

-- cgit v1.2.3 From d17c15a9924240e31bc3a921ea15eac47087b43c Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 7 Nov 2014 05:14:53 -0800 Subject: doc updates --- doc/html/permissions_8php.html | 4 ++-- 1 file changed, 2 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 96d65b44b..bd92a66d0 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -243,7 +243,7 @@ Functions -

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

+

Referenced by connedit_content(), create_identity(), diaspora_request(), foofoo(), new_contact(), settings_post(), and zot_refresh().

@@ -277,7 +277,7 @@ 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(), RedMatrix\RedDAV\RedDirectory\createDirectory(), RedMatrix\RedDAV\RedDirectory\createFile(), RedMatrix\RedDAV\RedFile\delete(), diaspora_asphoto(), diaspora_comment(), diaspora_conversation(), diaspora_like(), diaspora_photo(), diaspora_post(), diaspora_reshare(), display_content(), editblock_content(), get_feed_for(), RedMatrix\RedDAV\RedDirectory\getChild(), RedMatrix\RedDAV\RedDirectory\getChildren(), item_post(), like_content(), local_dir_update(), p_init(), 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(), RedMatrix\RedDAV\RedBrowser\set_writeable(), RedMatrix\RedDAV\RedFile\setName(), RedMatrix\RedDAV\RedDirectory\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().

+

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(), RedMatrix\RedDAV\RedDirectory\createDirectory(), RedMatrix\RedDAV\RedDirectory\createFile(), RedMatrix\RedDAV\RedFile\delete(), diaspora_asphoto(), diaspora_comment(), diaspora_conversation(), diaspora_like(), diaspora_photo(), diaspora_post(), diaspora_reshare(), display_content(), editblock_content(), get_feed_for(), RedMatrix\RedDAV\RedDirectory\getChild(), RedMatrix\RedDAV\RedDirectory\getChildren(), item_post(), like_content(), local_dir_update(), p_init(), 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(), RedMatrix\RedDAV\RedBrowser\set_writeable(), RedMatrix\RedDAV\RedFile\setName(), RedMatrix\RedDAV\RedDirectory\setName(), subthread_content(), tag_deliver(), tgroup_check(), update_birthdays(), viewconnections_content(), widget_archive(), widget_catcloud_wall(), widget_categories(), widget_item(), widget_photo_albums(), widget_tagcloud_wall(), z_readdir(), and zot_feed().

-- cgit v1.2.3 From 87cdfc1751d1e2f16cf651393049c5f6fb1a8efb Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 15 Nov 2014 14:03:28 -0800 Subject: doc updates --- doc/html/permissions_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index bd92a66d0..379a93a75 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -277,7 +277,7 @@ 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(), RedMatrix\RedDAV\RedDirectory\createDirectory(), RedMatrix\RedDAV\RedDirectory\createFile(), RedMatrix\RedDAV\RedFile\delete(), diaspora_asphoto(), diaspora_comment(), diaspora_conversation(), diaspora_like(), diaspora_photo(), diaspora_post(), diaspora_reshare(), display_content(), editblock_content(), get_feed_for(), RedMatrix\RedDAV\RedDirectory\getChild(), RedMatrix\RedDAV\RedDirectory\getChildren(), item_post(), like_content(), local_dir_update(), p_init(), 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(), RedMatrix\RedDAV\RedBrowser\set_writeable(), RedMatrix\RedDAV\RedFile\setName(), RedMatrix\RedDAV\RedDirectory\setName(), subthread_content(), tag_deliver(), tgroup_check(), update_birthdays(), viewconnections_content(), widget_archive(), widget_catcloud_wall(), widget_categories(), widget_item(), widget_photo_albums(), widget_tagcloud_wall(), z_readdir(), and zot_feed().

+

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(), RedMatrix\RedDAV\RedDirectory\createDirectory(), RedMatrix\RedDAV\RedDirectory\createFile(), RedMatrix\RedDAV\RedFile\delete(), diaspora_asphoto(), diaspora_comment(), diaspora_conversation(), diaspora_like(), diaspora_photo(), diaspora_post(), diaspora_reshare(), display_content(), editblock_content(), editlayout_content(), editwebpage_content(), get_feed_for(), RedMatrix\RedDAV\RedDirectory\getChild(), RedMatrix\RedDAV\RedDirectory\getChildren(), item_post(), like_content(), local_dir_update(), p_init(), 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(), RedMatrix\RedDAV\RedBrowser\set_writeable(), RedMatrix\RedDAV\RedFile\setName(), RedMatrix\RedDAV\RedDirectory\setName(), subthread_content(), tag_deliver(), tgroup_check(), update_birthdays(), viewconnections_content(), widget_archive(), widget_catcloud_wall(), widget_categories(), widget_item(), widget_photo_albums(), widget_tagcloud_wall(), z_readdir(), and zot_feed().

-- cgit v1.2.3 From 452d275b5ee4575e6c763076b397e1cd2320c4bc Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 12 Dec 2014 00:26:07 -0800 Subject: don't import to sys channel from self-censored authors --- doc/html/permissions_8php.html | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index 379a93a75..f74b5e10e 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -113,18 +113,22 @@ $(document).ready(function(){initNavTree('permissions_8php.html','');});

Functions

 get_perms () + Return an array with all available permissions. More...
   get_all_perms ($uid, $observer_xchan, $internal_use=true)    perm_is_allowed ($uid, $observer_xchan, $permission) + Checks if given permission is allowed for given observer on a channel. More...
   check_list_permissions ($uid, $arr, $perm)    site_default_perms () + Sets site wide default permissions. More...
   get_role_perms ($role)    role_selector ($current) + Creates a HTML select field with all available roles. More...
 

Function Documentation

@@ -194,12 +198,13 @@ Functions

get_all_perms($uid,$observer_xchan)

Parameters
- - + + +
$uid: The channel_id associated with the resource owner
$observer_xchan,:The xchan_hash representing the observer
int$uidThe channel_id associated with the resource owner
string$observer_xchanThe xchan_hash representing the observer
bool$internal_use(default true)
-
Returns
: array of all permissions, key is permission name, value is true or false
+
Returns
array of all permissions, key is permission name, value is true or false

Referenced by achievements_content(), blocks_content(), change_channel(), channel_content(), connedit_content(), editlayout_content(), editwebpage_content(), filestorage_content(), layouts_content(), like_content(), page_init(), webpages_content(), zfinger_init(), and zot_refresh().

@@ -218,6 +223,10 @@ Functions
+

Return an array with all available permissions.

+

These are channel specific permissions. The list of available permissions can get manipulated by the hook global_permissions.

+
Returns
array associative array containing all permissions
+

Referenced by connedit_content(), create_identity(), get_all_perms(), mail_post(), new_contact(), perm_is_allowed(), settings_post(), site_default_perms(), and zot_refresh().

@@ -277,6 +286,18 @@ Functions
+

Checks if given permission is allowed for given observer on a channel.

+

Checks if the given observer with the hash $observer_xchan has permission $permission on channel_id $uid. $permission is one defined in get_perms();

+
Parameters
+ + + + +
int$uidThe channel_id associated with the resource owner
string$observer_xchanThe xchan_hash representing the observer
string$permission
+
+
+
Returns
bool true if permission is allowed for observer on channel
+

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(), RedMatrix\RedDAV\RedDirectory\createDirectory(), RedMatrix\RedDAV\RedDirectory\createFile(), RedMatrix\RedDAV\RedFile\delete(), diaspora_asphoto(), diaspora_comment(), diaspora_conversation(), diaspora_like(), diaspora_photo(), diaspora_post(), diaspora_reshare(), display_content(), editblock_content(), editlayout_content(), editwebpage_content(), get_feed_for(), RedMatrix\RedDAV\RedDirectory\getChild(), RedMatrix\RedDAV\RedDirectory\getChildren(), item_post(), like_content(), local_dir_update(), p_init(), 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(), RedMatrix\RedDAV\RedBrowser\set_writeable(), RedMatrix\RedDAV\RedFile\setName(), RedMatrix\RedDAV\RedDirectory\setName(), subthread_content(), tag_deliver(), tgroup_check(), update_birthdays(), viewconnections_content(), widget_archive(), widget_catcloud_wall(), widget_categories(), widget_item(), widget_photo_albums(), widget_tagcloud_wall(), z_readdir(), and zot_feed().

@@ -295,6 +316,15 @@ Functions
+

Creates a HTML select field with all available roles.

+
Parameters
+ + +
string$currentThe current role
+
+
+
Returns
string Returns the complete HTML code for this privacy-role-select field.
+

Referenced by new_channel_content().

@@ -312,6 +342,9 @@ Functions
+

Sets site wide default permissions.

+
Returns
array
+

Referenced by create_identity().

-- cgit v1.2.3 From ed2917118dd97df6b97c6ee34fe77b7f1818ffcd Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 2 Jan 2015 17:26:57 -0800 Subject: doc updates --- doc/html/permissions_8php.html | 59 +++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 30 deletions(-) (limited to 'doc/html/permissions_8php.html') diff --git a/doc/html/permissions_8php.html b/doc/html/permissions_8php.html index f74b5e10e..28a402c70 100644 --- a/doc/html/permissions_8php.html +++ b/doc/html/permissions_8php.html @@ -127,9 +127,9 @@ Functions    get_role_perms ($role)   - role_selector ($current) - Creates a HTML select field with all available roles. More...
-  + get_roles () + Returns a list or roles, grouped by type. More...

Function Documentation

@@ -254,6 +254,32 @@ Functions

Referenced by connedit_content(), create_identity(), diaspora_request(), foofoo(), new_contact(), settings_post(), and zot_refresh().

+ + + +
+
+ + + + + + + +
get_roles ()
+
+ +

Returns a list or roles, grouped by type.

+
Parameters
+ + +
string$currentThe current role
+
+
+
Returns
string Returns an array of roles, grouped by type
+ +

Referenced by new_channel_content().

+
@@ -300,33 +326,6 @@ 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(), RedMatrix\RedDAV\RedDirectory\createDirectory(), RedMatrix\RedDAV\RedDirectory\createFile(), RedMatrix\RedDAV\RedFile\delete(), diaspora_asphoto(), diaspora_comment(), diaspora_conversation(), diaspora_like(), diaspora_photo(), diaspora_post(), diaspora_reshare(), display_content(), editblock_content(), editlayout_content(), editwebpage_content(), get_feed_for(), RedMatrix\RedDAV\RedDirectory\getChild(), RedMatrix\RedDAV\RedDirectory\getChildren(), item_post(), like_content(), local_dir_update(), p_init(), 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(), RedMatrix\RedDAV\RedBrowser\set_writeable(), RedMatrix\RedDAV\RedFile\setName(), RedMatrix\RedDAV\RedDirectory\setName(), subthread_content(), tag_deliver(), tgroup_check(), update_birthdays(), viewconnections_content(), widget_archive(), widget_catcloud_wall(), widget_categories(), widget_item(), widget_photo_albums(), widget_tagcloud_wall(), z_readdir(), and zot_feed().

- - - -
-
- - - - - - - - -
role_selector ( $current)
-
- -

Creates a HTML select field with all available roles.

-
Parameters
- - -
string$currentThe current role
-
-
-
Returns
string Returns the complete HTML code for this privacy-role-select field.
- -

Referenced by new_channel_content().

-
-- cgit v1.2.3