Security auto permissions insert on db