add 'block_public' checking to get_all_perms() and perm_is_allowed() so we have everything related to allowing or denying something in one place. Currently this check is done separately in a huge number of places. Now we can start to remove all the extra checks. A couple of them are still necessary, but most are now redundant.
add 'block_public' checking to get_all_perms() and perm_is_allowed() so we have everything related to allowing or denying something in one place. Currently this check is done separately in a huge number of places. Now we can start to remove all the extra checks. A couple of them are still necessary, but most are now redundant.

anaqreon/redmatrix,zotlabs/hubzilla,phellmes/hubzilla,sasiflo/hubzilla,zzottel/hubzilla,unary/redmatrix,zzottel/hubzilla,redmatrix/hubzilla,habeascodice/redmatrix,beardyunixer/federated-global-directory,git-marijus/hubzilla,zotlabs/hubzilla,dawnbreak/hubzilla,dawnbreak/hubzilla,friendica/red,encyclomundi/hubzilla,HaakonME/hubzilla,sasiflo/hubzilla,solstag/redmatrix,encyclomundi/hubzilla,solstag/redmatrix,friendica/red,redmatrix/hubzilla,mjfriaza/hubzilla,beardyunixer/redmatrix,beardyunixer/redmatrix,mrjive/hubzilla,dawnbreak/hubzilla,dawnbreak/hubzilla,dawnbreak/redmatrix,kenrestivo/hubzilla,git-marijus/hubzilla,solstag/redmatrix,beardyunixer/federated-global-directory,beardyunixer/federated-global-directory,anaqreon/redmatrix,friendica/red,unary/redmatrix,HaakonME/hubzilla,habeascodice/redmatrix,phellmes/hubzilla,git-marijus/hubzilla,wave72/hubzilla-dev,kenrestivo/hubzilla,mrjive/hubzilla,zotlabs/hubzilla,unary/redmatrix,mjfriaza/hubzilla,habeascodice/redmatrix,mjfriaza/hubzilla,HaakonME/redmatrix,beardyunixer/redmatrix,git-marijus/hubzilla,mrjive/hubzilla,zzottel/hubzilla,friendica/red,redmatrix/hubzilla,kenrestivo/hubzilla,beardyunixer/federated-global-directory,git-marijus/hubzilla,sasiflo/hubzilla,wave72/hubzilla-dev,beardyunixer/redmatrix,sasiflo/hubzilla,git-marijus/hubzilla,phellmes/hubzilla,anaqreon/redmatrix,beardyunixer/federated-global-directory,zzottel/hubzilla,dawnbreak/redmatrix,beardyunixer/redmatrix,unary/redmatrix,HaakonME/redmatrix,kenrestivo/hubzilla,sasiflo/hubzilla,redmatrix/hubzilla,dawnbreak/redmatrix,dawnbreak/hubzilla,solstag/redmatrix,redmatrix/redmatrix,zotlabs/hubzilla,unary/redmatrix,zzottel/hubzilla,redmatrix/redmatrix,HaakonME/redmatrix,friendica/red,anaqreon/hubzilla,zotlabs/hubzilla,dawnbreak/hubzilla,redmatrix/redmatrix,friendica/red,anaqreon/hubzilla,anaqreon/redmatrix,zotlabs/hubzilla,mrjive/hubzilla,mjfriaza/hubzilla,HaakonME/redmatrix,redmatrix/redmatrix,anaqreon/hubzilla,HaakonME/hubzilla,encyclomundi/hubzilla,wave72/hubzilla-dev,HaakonME/redmatrix,beardyunixer/redmatrix,phellmes/hubzilla,mjfriaza/hubzilla,wave72/hubzilla-dev,phellmes/hubzilla,redmatrix/redmatrix,HaakonME/hubzilla,unary/redmatrix,anaqreon/hubzilla,redmatrix/redmatrix,solstag/redmatrix,habeascodice/redmatrix,HaakonME/redmatrix,habeascodice/redmatrix,encyclomundi/hubzilla,anaqreon/redmatrix,anaqreon/redmatrix,encyclomundi/hubzilla,anaqreon/redmatrix,encyclomundi/hubzilla,wave72/hubzilla-dev,beardyunixer/federated-global-directory,mjfriaza/hubzilla,phellmes/hubzilla,anaqreon/hubzilla,habeascodice/redmatrix,sasiflo/hubzilla,redmatrix/hubzilla,mrjive/hubzilla,dawnbreak/redmatrix,HaakonME/redmatrix,redmatrix/hubzilla,dawnbreak/redmatrix,unary/redmatrix,HaakonME/hubzilla,beardyunixer/redmatrix,mrjive/hubzilla,zotlabs/hubzilla,wave72/hubzilla-dev,mjfriaza/hubzilla,redmatrix/redmatrix,beardyunixer/federated-global-directory,kenrestivo/hubzilla,git-marijus/hubzilla,kenrestivo/hubzilla,zzottel/hubzilla,dawnbreak/redmatrix,habeascodice/redmatrix,HaakonME/hubzilla,phellmes/hubzilla,anaqreon/hubzilla,wave72/hubzilla-dev,solstag/redmatrix,friendica/red,encyclomundi/hubzilla,solstag/redmatrix,dawnbreak/redmatrix,zzottel/hubzilla,kenrestivo/hubzilla,HaakonME/hubzilla