1. A method of providing for group level and user level document security in a document handling system including a series of templates for creating multiple documents of a multitude of document types, the method comprising the steps of: using the templates to generate the multiple documents of the multitude of document types, including defining each of the multiple documents as a first complex object structure, each of the documents having a header and a plurality of fields; wherein the header in each of the documents forms a ruler in the document and describes the fields of the document, each of the fields of each document is an individual instance of subobjects of the ruler in the document, and each of the templates is a second, complex object structure holding definitions of what fields go into which ones of the multiple documents; identifying a multitude of sets of security conditions, one or more of said sets of security conditions restricting access to one or more of said types of documents to specified groups of users and one or more of said sets of security conditions restricting access to one or more of said types of documents to specified users; defining a first path connecting a first set of the document types and identifying a first group of the sets of security; conditions, and using the first group of the sets of the security conditions to determine which users have access to a first group of the document types; defining a second path connecting a second group of the sets of security conditions, and using the second group of the sets of the security conditions to determine which users have access to a second group of the document types; and for each of the users, maintaining a summary of the templates generating the documents of the document types to which said each user has access; wherein: each of the templates has a template ID; each of the documents includes a data head and a data body; all the documents generated by each of the templates have the template ID of said each of the templates in the data heads and the data bodies of said all the documents; the documents are in a data base; and all access to the database go through a defined method, said defined method generating a statement which does a union of variants of an original selection with a selection for a given path from one of the users to documents added.
1. A method of providing for group level and user level document security in a document handling system including a series of templates for creating multiple documents of a multitude of document types, the method comprising the steps of: using the templates to generate the multiple documents of the multitude of document types, including defining each of the multiple documents as a first complex object structure, each of the documents having a header and a plurality of fields; wherein the header in each of the documents forms a ruler in the document and describes the fields of the document, each of the fields of each document is an individual instance of subobjects of the ruler in the document, and each of the templates is a second, complex object structure holding definitions of what fields go into which ones of the multiple documents; identifying a multitude of sets of security conditions, one or more of said sets of security conditions restricting access to one or more of said types of documents to specified groups of users and one or more of said sets of security conditions restricting access to one or more of said types of documents to specified users; defining a first path connecting a first set of the document types and identifying a first group of the sets of security; conditions, and using the first group of the sets of the security conditions to determine which users have access to a first group of the document types; defining a second path connecting a second group of the sets of security conditions, and using the second group of the sets of the security conditions to determine which users have access to a second group of the document types; and for each of the users, maintaining a summary of the templates generating the documents of the document types to which said each user has access; wherein: each of the templates has a template ID; each of the documents includes a data head and a data body; all the documents generated by each of the templates have the template ID of said each of the templates in the data heads and the data bodies of said all the documents; the documents are in a data base; and all access to the database go through a defined method, said defined method generating a statement which does a union of variants of an original selection with a selection for a given path from one of the users to documents added. 11. A method according to claim 1 , wherein: each of the templates includes a template header, a template bod, and a template identifier; and the maintaining a summary of the templates includes maintaining a summary of all the available template identifiers each of the users can access; and using said summary to set up a list of the document types available to said each user.