Patent ID: 8898160

Claim:
An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a repository residing in the memory that includes a plurality of documents, each document including a plurality of elements; and a content management system residing in the memory and executed by the at least one processor, the content management system managing the plurality of documents in the repository, the content management system comprising: a profiling mechanism that receives from a plugin on a client computer system used by a user a request from the user for one of the plurality of documents from the repository, and in response to receiving the request from the user, the profiling mechanism modifies the request received from the plugin by inserting without further input from the user at least one additional request parameter according to a role of the user to limit elements from the document rendered to the user to elements that satisfy the role of the user, wherein the profiling mechanism monitors additions and modifications to at least one of the plurality of elements in a document by the user, and in response to the additions and modifications to the at least one of the plurality of elements in the document by the user, inserts without further input from the user applicability metadata in the document for at least one changed element according to the role of the user, wherein the applicability metadata specifies a required role level for accessing the at least one changed element, and wherein the profiling mechanism limits elements from the document rendered to the user to elements that satisfy the role of the user by comparing the role of the user to the required role level specified in the applicability metadata for accessing the at least one changed element and excludes at least one element in the document from being rendered to the user when the at least one element is a changed element that has a required role level specified in the applicability metadata that is not satisfied by the role of the user, with the result that the profiling mechanism renders some of the plurality of elements in the document to the user via the plugin and does not render other of the plurality of elements in the document to the user via the plugin.