[FIX]Obey global vs local permissions using functions from permission revamp. Thanks kroky6 and jonnyb. It fixes https://dev.tiki.org/item6148
[FIX]Obey global vs local permissions using functions from permission revamp. Thanks kroky6 and jonnyb. It fixes https://dev.tiki.org/item6148

git-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@60071 b456876b-0849-0410-b77d-98878d47e9d5

oregional/tiki,tikiorg/tiki,oregional/tiki,tikiorg/tiki,oregional/tiki,oregional/tiki,tikiorg/tiki,tikiorg/tiki