set all access levels to public?

is there a code or plugin that enables me to automatically set all contents, users, files, etc's access levels to public? doing this by hand is a very monotony task

  • that did it, should i do the same thin for river table too?

  • Hmmm... If nobody mind me interrupting.. I would suggest to write a script which only admin can execute... 

    You can get all the entities with "elgg_get_entities", and after that.. Just run a loop and set all the access to ACCESS_PUBLIC

    ie.

    $entities = get_elgg_entities(array('limit' => 999999));

    foreach($entities as $entity) {

    $entity->access_id = ACCESS_PUBLIC;

    $entity->save();

    }

     

    :) JUST AN IDEA GUYS..... ;)