From a47971aefd2bee45f4e57dd1fc3ea24bb370881f Mon Sep 17 00:00:00 2001 From: root Date: Sun, 29 Jun 2014 18:32:40 +0200 Subject: Some doco work. Changed main.bb and added a return link to all .bb files and began planning new entries for user orientated documentation. --- doc/old/html/permissions_8php.html | 274 +++++++++++++++++++++++++++++++++++++ 1 file changed, 274 insertions(+) create mode 100644 doc/old/html/permissions_8php.html (limited to 'doc/old/html/permissions_8php.html') diff --git a/doc/old/html/permissions_8php.html b/doc/old/html/permissions_8php.html new file mode 100644 index 000000000..f33215fa9 --- /dev/null +++ b/doc/old/html/permissions_8php.html @@ -0,0 +1,274 @@ + + + + + + +The Red Matrix: include/permissions.php File Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
The Red Matrix +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
permissions.php File Reference
+
+
+ + + + + + + + + + + + +

+Functions

 get_perms ()
 
 get_all_perms ($uid, $observer_xchan, $internal_use=true)
 
 perm_is_allowed ($uid, $observer_xchan, $permission)
 
 check_list_permissions ($uid, $arr, $perm)
 
 site_default_perms ()
 
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
check_list_permissions ( $uid,
 $arr,
 $perm 
)
+
+ +

Referenced by collect_recipients().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
get_all_perms ( $uid,
 $observer_xchan,
 $internal_use = true 
)
+
+

get_all_perms($uid,$observer_xchan)

+
Parameters
+ + + +
$uid: The channel_id associated with the resource owner
$observer_xchan,:The xchan_hash representing the observer
+
+
+
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().

+ +
+
+ + + + + +
+
+ + + + + + + +
site_default_perms ()
+
+ +

Referenced by create_identity().

+ +
+
+
+
+ -- cgit v1.2.3