Quote:
Originally Posted by Pitman
As for the guests to be able to post comments, there are permissions for that, but they don't work. I never noticed that, but if I get time to figure it out, I'll let you know. 
|
The bug/problem is the same for all permission tests in arcade.php - he uses a NOT ("!") and "&" test - but does not enclose the test in brackets - for example ;
if (!$permissions['articlepermissions'] & CANFEATURE)
which should be
if (!
($permissions['articlepermissions'] & CANFEATURE
))
to work properly (anyone can make an article featured atm).
I just spent an hour or so fixing all these permission holes
:tired: