Setting area permissions for all pages

Permalink 1 user found helpful
Modles was having some problems because he didn't set the permissions before adding a ton of pages and content, so, i tried something, i executed this sql query

UPDATE Areas SET `arInheritPermissionsFromAreaOnCID` = '1'


it will pull all permissions from the homepage,
(just the area permissions not page permissions)

BACKUP YOUR DATABASE FIRST

Mnkras