#NEWLINE# def _get_all_permissions( opts , ctype ) : #NEWLINE# #INDENT# '\n    Returns (codename, name) for all permissions in the given opts.\n    ' #NEWLINE# builtin = _get_builtin_permissions ( opts ) #NEWLINE# custom = list ( opts . permissions ) #NEWLINE# _check_permission_clashing ( custom , builtin , ctype ) #NEWLINE# return ( builtin + custom )