* all users that had 'write' permissions on a document when it becomes a record continue to have 'file' on that record.
* these users also have EditMetadata capability
* this include the owner of the document at the time it was made a record
* extended 'read' permissions for created records continues to work in the same way
* added an extended permission service with additional method to get the writers of a node .. configured and implemented as an extension to the core and held in the RM AMP (could be moved down at a later stage if appropriate)
* patches updated
* unit tests updated (and fixed)
* content model updated to more generic 'ExtendedSecurity' aspect with writers property
* service generalised as an ExtendedSecurityService with appropriate method changes
* mandatory parameter no longer mandatory in create-record action .. fixes issues seen in unit tests and UI
NOTE: due to the nature of this change any db's created on an earlier 2.1 dev build will need to be reset .. going from 2.0.1 onwards will, however, be fine.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46270 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* means search and other navigation paths work correctly
* will allow the navigation of the unfiled container via other UI's and API's much easier
* created the file plan service
* methods relating to the unfiled container now encapsulated in the file plan service
* TODO move many of the methods in the records management service into the file plan service .. with the ultimate aim of deprecating the catch-all records management service!
* delt with fall out from changes
* relates to RM-583
NOTE: you will need to recreate any db's previously created on the 2.1 development branch ... any pre-2.1 will be fine and patch correctly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45823 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* rm actions can be applicable to only certain 'kinds' of RM artifacts
* when retrieveing with context, RM actions are only applicable to RM artifacts and vice verca for DM objects
* delegate RM action available to be configured against existing DM actions
* unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45699 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* final deprecation of recordsManagementSecurityService
* origional interface and implementation moved to compatibility area
* deprecation context added
* FilePlanPermission service added to handle file plan permissions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44829 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* file and setup folder action removed in favour of services
* disposition action methods consolidated in disposition service
* vital record action methods consolidated in vital record service
* unit test updates
* other code fallout
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* fleshed out unit tests for record service
* fixed up a couple of issues when creating records
* unfiled record API integrated into the Record Service
* investigated moving filling API from actions into service (roughed out API)
* updated create record action
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* we don't need to evaluate the capabilites, just need to know if the user 'has' the capability
* added ebable/disable
* disabled for now since code refactor is complete, but we need to think some more about what (and why) some properties and aspects are protected
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* actions and capabilities no long linked
* protected aspects and properties can be configured in their own right
* protected model security service added
* action implementation refactored accordingly
* capability implementations refactored accordingly
* unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44229 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* build scripts updated so generated eclipse projects don't double up dependancies
* demo code removed entirely
* permission service override replaced with extended class based on updated core permission service implementation
* unit test juggling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44009 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
41707: RM: Transparent records management prototype WIP
* Create Record service and refactor
* Add 'createRecord' method that preserves origional location(s) of the content
* Add content readers information to record on extended security aspect
* Experimental dynamic authority
* DM action to 'create' record
* Behaviour and methods to create and get new record container
41708: RM: In-place filing prototype WIP
42063: RM: Inplace filing prototype
* extension of seciruty service to allow management of extended readers
* extended reader maintained within file plan hierarchy
* support ready for removal (ie move) and overlapping of readers in hirearchy (maintained in reference counting map)
* general rename to "Unfiled Records" rather than "New Records"
* File plan unfiled records filter
* Unit tests
* Correct permissions on created unfiled container (file for admin as per file plan root)
* record readers dynamic authority applied to file plan components on bootstrap and creation
42374: RM InPlace Prototype:
* permission mapping improvements ... allows filling and declaration of unfiled records
* actions of 'records' in doc lib are shown as restricted rm list
* "Record" banner is shown in doc lib if content is a record (this differs from the normal record view where the undeclared status is shown, this isn't relevant for a content user)
* linked to many record folders indicator not shown unless it really is linked to many record folders
42700: RM Prototype:
* stoppped hidden RM actions from appearing in UI
* added file record action (TODO run-as RecordsManager and make applicable via aspect)
* added hook points to allow customisation of Rule UI and customised for file record action
43030: RM: In-place prototype
43238: Rule editing fixed
43332: Implemented a DeclareRecordAction so that a rule can be setup for a folder and a user can declare a record just uploading a file (in a collaboration site) into the folder.
43348: DeclareRecordAction: The actioned upon node should be a record no need to create a record from the actioned node. If it is not a record an error should be thrown. If a user wants to create and declare a file as record a composite rule can be used.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261