Dear Kasimi, OK. I think I know, what i need to do. I can read the permissions of one role from the database with the following statement and use the result to create the $auth_settings array. SELECT r.role_id, r.role_name, o.auth_option, rd.auth_setting FROM phpbb_acl_roles r JOIN phpbb_acl_roles_d...