Filippo Toso
asked 7 years ago

Hi,

if I try to change the anonymous permission settings, they are not saved and at the next refresh the page keeps displaying the default ones.

If I comment the following 2 rows in the inc/roles.php file (rows 287 and 288), it seems to work correctly but I don’t know if this modification will introduce other bugs:

if ( $role_name == 'anonymous' )
    continue;

Sincerely,
Filippo Toso

1 Answers
Allen
answered 7 years ago

@Filippo Toso : hi , in your situation, you shouldn’t comment the code there, i think the better way is change the default permisson array of anonymous from line 247-->265 and change them to 0.

Powered by DW Question & Answer Pro