Self explanatory code: ``` $admin_role = new stdClass(); // Set the role name here $admin_role->name = ‘bogus’;

// Save the role, so that we can assign permissions to it user_role_save($admin_role);

// Grant all permissions to the this new role. user_role_grant_permissions($admin_role->rid, array_keys(module_invoke_all(‘permission’))); ```