\label{doc_usecases_snippet_sharing_UC_create_snippet_md_md_doc_usecases_snippet_sharing_UC_create_snippet}%
\Hypertarget{doc_usecases_snippet_sharing_UC_create_snippet_md_md_doc_usecases_snippet_sharing_UC_create_snippet}%
 \hypertarget{doc_usecases_snippet_sharing_UC_create_snippet_md_autotoc_md3724}{}\doxysection{Summary}\label{doc_usecases_snippet_sharing_UC_create_snippet_md_autotoc_md3724}

\begin{DoxyItemize}
\item {\bfseries{Title\+:}} Create configuration snippet
\item {\bfseries{Scope\+:}} Entry Management
\item {\bfseries{Level\+:}} User Goal
\item {\bfseries{Actors\+:}} Authenticated user
\item {\bfseries{Brief\+:}} User can create a new configuration snippet (database entry) based on a set of specified inputs, one of them being the snippet itself.
\end{DoxyItemize}\hypertarget{doc_usecases_snippet_sharing_UC_create_snippet_md_autotoc_md3725}{}\doxysection{Scenarios}\label{doc_usecases_snippet_sharing_UC_create_snippet_md_autotoc_md3725}

\begin{DoxyItemize}
\item {\bfseries{Precondition\+:}} Authenticated, sufficient permissions
\item {\bfseries{Main success scenario\+:}} All inputs validate and the configuration snippet could be parsed and stored in the Elektra database successfully. The user is then redirected to the detailed view of the created snippet.
\item {\bfseries{Alternative scenario\+:}} Wrong inputs lead to an error message and ask the user to correct them, then they can try again. It is also possible that the supplied configuration snippet is of an unsupported format. In either case the user retrieves a response containing error information.
\item {\bfseries{Error scenario\+:}} Technical problems prevent the storage process from completing. The user is informed about the issue.
\item {\bfseries{Postcondition\+:}} Configuration snippet is stored in the database successfully and can be found through search and direct link.
\item {\bfseries{Non-\/functional Constraints\+:}}
\begin{DoxyItemize}
\item Essential functionality of the service 
\end{DoxyItemize}
\end{DoxyItemize}