the view_photos and post_photos permissions are redundant and are now mapped to view_storage and write_storage
This commit is contained in:
@@ -123,7 +123,7 @@ function photo_init(&$a) {
|
||||
);
|
||||
if($r) {
|
||||
|
||||
$allowed = (($r[0]['uid']) ? perm_is_allowed($r[0]['uid'],$observer_xchan,'view_photos') : true);
|
||||
$allowed = (($r[0]['uid']) ? perm_is_allowed($r[0]['uid'],$observer_xchan,'view_storage') : true);
|
||||
|
||||
$sql_extra = permissions_sql($r[0]['uid']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user