Minor - adding api_get_cidreq()
Minor - format code.
Using GroupManager::user_has_access() to check user group permissions.

See BT#7870