Skip to content

Commit

Permalink
Merge pull request #61 from neilt/remove_old_roles
Browse files Browse the repository at this point in the history
Remove manual roles documentation
  • Loading branch information
neilt authored Nov 21, 2023
2 parents b085e0a + 9eb9f6d commit fc738c2
Showing 1 changed file with 1 addition and 196 deletions.
197 changes: 1 addition & 196 deletions appendices.tex
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,6 @@ \chapter{Listing of application roles}
insert (create), update (edit) or delete (delete) data in the tables holding the data
related to the execution of these tasks.

The following table lists the roles that are currently active or have been removed since LedgerSMB version 1.9.0.

Roles that are no longer in use as of LedgerSMB version 1.9.0 , have been removed.

%This list contains workaround for HTML lists that looks so bad. That is all of the '\htmlspacing' stuff.
% This change at least haromonizes the look between PDF and HTML except that
% PDF does not have a line space between the role and the description and the HTML does.
Expand All @@ -265,198 +261,7 @@ \chapter{Listing of application roles}
\newcommand{\htmlspacing}{ \hfill \\}
\fi

\section{OLD Manual Format For references}
\begin{description}[style=nextline]
\item [account\_all] \htmlspacing Allows the user all (create, delete, and edit) roles for \gls{GL} accounts. \index{GL} \index{General Ledger}
Does not include the ability to post.
\item [account\_create] \htmlspacing Allows the user to only create new \gls{GL} accounts.
\item [account\_delete] \htmlspacing Allows the user to only delete \gls{GL} accounts.
\item [account\_edit] \htmlspacing Allows the user to only edit \gls{GL} accounts. \index{GL accounts}
\item [account\_link\_description\_create] \htmlspacing @@@

\item [ap\_all] \htmlspacing Allows the user all roles related to accounts payable. \index{AP} \index{Accounts Payable}
Does not include the ability to post.
\item [ap\_all\_transactions] \htmlspacing Allows the user all roles related to accounts payable transactions.
\item [ap\_all\_vouchers] \htmlspacing Allows the user all roles related to accounts payable vouchers.
\item [ap\_invoice\_create] \htmlspacing Allows the user to create an accounts payable invoice.
\item [ap\_invoice\_create\_voucher] \htmlspacing Allows the user to create an accounts payable voucher.
\item [ap\_transaction\_all] \htmlspacing @@@ Is this the same as \textbf{ap\_all\_transactions}? Added 1.3.21.
\item [ap\_transaction\_create] \htmlspacing Allows the user to create non-voucher accounts payable transactions.
\item [ap\_transaction\_create\_voucher] \htmlspacing Allows the user to create accounts payable voucher transactions.
\item [ap\_transaction\_list] \htmlspacing Allows the user to read or see accounts payable transactions. \index{AP} \index{Accounts Payable}

\item [ar\_all] \htmlspacing Allows the user to have all roles related to accounts payable. \index{AR} \index{Accounts Receivable}
Does not include the ability to post.
\item [ar\_invoice\_create] \htmlspacing Allows the user to create and update sales invoices. If the
user needs to be able to enter invoices in foreign currencies, the
\emph{exchangerate\_edit} role must be assigned as well. \index{sales invoice} \index{Exchange Rate}
\item [ar\_invoice\_create\_voucher] \htmlspacing Allows the user to create accounts receivable invoices.
\item [ar\_transaction\_all] \htmlspacing Allows the user all roles related to accounts receivable transactions.
\item [ar\_transaction\_create] \htmlspacing @@@
\item [ar\_transaction\_create\_voucher] \htmlspacing @@@
\item [ar\_transaction\_list] \htmlspacing @@@
\item [ar\_voucher\_all] \htmlspacing @@@ \index{AR} \index{Accounts Receivable}

\item [assembly\_stock] \htmlspacing @@@ \index{assembly}

\item [assets\_administer] \htmlspacing Allows the user all privileges related to assets. \index{assets}
\item [assets\_approve] \htmlspacing Allows the user to approve actions associated with assets.
\item [assets\_depreciate] \htmlspacing Allows the user to depreciate assets.
\item [assets\_enter] \htmlspacing Allows the user to enter or add assets.

\item [audit\_trail\_maintenance] \htmlspacing @@@ \index{audit trail}

\item [auditor] \htmlspacing @@@ \index{auditor}

\item [base\_user] \htmlspacing The base role only allows access to menu items Preferences, Logout, and New Window. \index{roles, base}

\item [batch\_create] \htmlspacing Allows the user to create new batches.
\item [batch\_list] \htmlspacing Allows the user to list batches.
\item [batch\_post] \htmlspacing Allows the user to post batches. This authorization includes the right to search for batches
and therefore includes the \emph{batch\_list} role. \index{batch}

\item [budget\_approve] \htmlspacing Allows the user to approve budgets. \index{budget}
\item [budget\_enter] \htmlspacing Allows the user to enter or create budgets.
\item [budget\_obsolete] \htmlspacing @@@
\item [budget\_view] \htmlspacing Allows the user to list or see budgets.

\item [business\_type\_all] \htmlspacing @@@ \index{business type}
\item [business\_type\_create] \htmlspacing @@@
\item [business\_type\_edit] \htmlspacing @@@

\item [business\_units\_manage] \htmlspacing @@@ \index{business units}

\item [cash\_all] \htmlspacing @@@ \index{cash} \index{cash}

\item [contact\_all\_rights] \htmlspacing Gives the user all roles for creating, editing and deleting contacts. \index{contact}
\item [contact\_class\_cold\_lead] \htmlspacing @@@
\item [contact\_class\_contact] \htmlspacing @@@
\item [contact\_class\_customer] \htmlspacing @@@
\item [contact\_class\_employee] \htmlspacing @@@
\item [contact\_class\_hot\_lead] \htmlspacing @@@
\item [contact\_class\_lead] \htmlspacing @@@
\item [contact\_class\_referral] \htmlspacing @@@
\item [contact\_class\_robot] \htmlspacing @@@
\item [contact\_class\_sub\_contractor] \htmlspacing @@@
\item [contact\_class\_vendor] \htmlspacing @@@
\item [contact\_create] \htmlspacing Allows the user to create a contacts.
\item [contact\_delete] \htmlspacing Allows the user to delete a contacts.
\item [contact\_edit] \htmlspacing Allows the user to edit a contacts.
\item [contact\_read] \htmlspacing Allows the user to view contacts. \index{contact}

\item [country\_all] \htmlspacing Allows the user to create and edit countries. Added 1.11.0. \index{country}
\item [country\_create] \htmlspacing Allows the user to create countries. Added 1.11.0.
\item [country\_edit] \htmlspacing Allows the user to edit countries.Added 1.11.0.

\item [draft\_modify] \htmlspacing @@@ \index{draft}
\item [draft\_post] \htmlspacing @@@

\item [employees\_manage] \htmlspacing @@@ \index{employees}

\item [exchangerate\_edit] \htmlspacing @@@ \index{exchange rate}

\item [file\_attach\_eca] \htmlspacing @@@ \index{file}
\item [file\_attach\_entity] \htmlspacing @@@
\item [file\_attach\_order] \htmlspacing @@@
\item [file\_attach\_part] \htmlspacing @@@
\item [file\_attach\_tx] \htmlspacing @@@
\item [file\_read] \htmlspacing @@@
\item [file\_upload] \htmlspacing @@@

\item [financial\_reports] \htmlspacing Allows the user to see and print financial reports. \index{financial reports}

\item [gifi\_create] \htmlspacing @@@ \index{GIFI}
\item [gifi\_edit] \htmlspacing @@@

\item [gl\_all] \htmlspacing @@@ Not sure how this is different than \texttt{account\_all} above. \index{GL}
\item [gl\_reports] \htmlspacing @@@
\item [gl\_transaction\_create] \htmlspacing @@@
\item [gl\_voucher\_create] \htmlspacing @@@

\item [inventory\_adjust] \htmlspacing Allows the user to adjust inventory. \index{inventory}
\item [inventory\_all] \htmlspacing Allows the user all inventory privileges.
\item [inventory\_approve] \htmlspacing Allows the user to approve inventory receipts and shipments.
\item [inventory\_receive] \htmlspacing Allows the user to enter inventory receipts.
\item [inventory\_reports] \htmlspacing Allows the user to see or view inventory.
\item [inventory\_ship] \htmlspacing Allows the user to enter inventory shipments.
\item [inventory\_transfer] \htmlspacing Allows the user to transfer inventory.

\item [language\_create] \htmlspacing @@@ \index{language}
\item [language\_edit] \htmlspacing @@@

\item [orders\_generate] \htmlspacing @@@ How is this different than Sales or Purchase orders? \index{orders}
\item [orders\_manage] \htmlspacing @@@
\item [orders\_purchase\_consolidate] \htmlspacing @@@
\item [orders\_sales\_consolidate] \htmlspacing @@@
\item [orders\_sales\_to\_purchase] \htmlspacing @@@

\item [part\_create] \htmlspacing Allows the user to create parts. \index{parts}
\item [part\_delete] \htmlspacing Allows the user to delete parts.
\item [part\_edit] \htmlspacing Allows the user the edit parts.

\item [payment\_process] \htmlspacing @@@ \index{payment processes}

\item [pricegroup\_create] \htmlspacing @@@ \index{price group}
\item [pricegroup\_edit] \htmlspacing @@@

\item [purchase\_order\_create] \htmlspacing Allows the user to only create a purchase order. \index{purchase order create}
\item [purchase\_order\_delete] \htmlspacing @@@
\item [purchase\_order\_edit] \htmlspacing @@@
\item [purchase\_order\_list] \htmlspacing @@@

\item [receipt\_process] \htmlspacing @@@

\item [reconciliation\_all] \htmlspacing Can approve or enter a reconciliation. \index{reconciliation}
\item [reconciliation\_approve] \htmlspacing Can only approve a reconciliation.
\item [reconciliation\_enter] \htmlspacing Can on enter a reconciliation.

\item [recurring] \htmlspacing @@@ \index{recurring}

\item [rfq\_create] \htmlspacing Allows the user to create a request for quotations (\glspl{rfq}). \index{RFQ} \index{request for quotation}
\item [rfq\_delete] \htmlspacing Allows the user to delete \glspl{rfq}.
\item [rfq\_list] \htmlspacing Allows the user to list or see \glspl{rfq}.

\item [sales\_order\_create] \htmlspacing Can only create a sales order. \index{sales order}
\item [sales\_order\_delete] \htmlspacing Can only delete a sales order. \index{sales order}
\item [sales\_order\_edit] \htmlspacing Can only edit a sales order. \index{sales order}
\item [sales\_order\_list] \htmlspacing Can only list a sales order. \index{sales order}
\item [sales\_quotation\_create] \htmlspacing Can only create a sales quotation. \index{sales quotation}
\item [sales\_quotation\_delete] \htmlspacing Can only delete a sales quotation.
\item [sales\_quotation\_list] \htmlspacing Can only list a sales quotation.

\item [sic\_all] \htmlspacing Allows the user all create and edit privileges for managing \gls{SIC} codes. \index{SIC}
\item [sic\_create] \htmlspacing Allows the user to create SIC codes.
\item [sic\_edit] \htmlspacing Allows the user to edit SIC code.

\item [system\_admin] \htmlspacing @@@
\item [system\_settings\_change] \htmlspacing @@@
\item [system\_settings\_list] \htmlspacing @@@

\item [tax\_form\_save] \htmlspacing @@@ \index{tax form}

\item [taxes\_set] \htmlspacing @@@ \index{taxes}

\item [template\_edit] \htmlspacing Allows the user to edit templates. \index{template}

\item [timecard\_add] \htmlspacing Allows the user to add timecards. \index{timecard}
\item [timecard\_list] \htmlspacing Allows the user to see and list timecards.
\item [timecard\_order\_generate] \htmlspacing @@@

\item [transaction\_template\_delete] \htmlspacing @@@
\item [translation\_create] \htmlspacing @@@

\item [users\_manage] \htmlspacing Allows the user to manage user roles.

\item [voucher\_delete] \htmlspacing Allows the user to delete vouchers.

\item [warehouse\_create] \htmlspacing Allows the user to create new warehouses.
\item [warehouse\_edit] \htmlspacing Allows the user to edit existing warehouses.

\item [yearend\_reopen] \htmlspacing Allow the user the reopen a closed year.
\item [yearend\_run] \htmlspacing Allows the user to run the year end process.
\end{description}

\section{New Auto Generated roles}
These roles definitions are generated directly from a running database using \texttt{gather-db-info.pl}.

\input{auto-generated/role_list_appendex.tex}

Expand Down

0 comments on commit fc738c2

Please sign in to comment.