def create_repository(self, repository_form=None):
<EOL>if not self._can('<STR_LIT>'):<EOL><INDENT>raise PermissionDenied()<EOL><DEDENT>else:<EOL><INDENT>return self._provider_session.create_repository(repository_form)<EOL><DEDENT>
Creates a new ``Repository``.

        arg:    repository_form (osid.repository.RepositoryForm): the
                form for this ``Repository``
        return: (osid.repository.Repository) - the new ``Repository``
        raise:  IllegalState - ``repository_form`` already used in a
                create transaction
        raise:  InvalidArgument - one or more of the form elements is
                invalid
        raise:  NullArgument - ``repository_form`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        raise:  Unsupported - ``repository_form`` did not originate from
                ``get_repository_form_for_create()``
        *compliance: mandatory -- This method must be implemented.*