* 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
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/INPLACE@42063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* dynamic authority set ReadRecord permission on new record and ViewRecord capability on containing file plan
* dynamic 'Record Readers' authority working correctly (checking whether current user is contained in the users/groups snap shoted as readers when the document was made a record)
* unit test showing document in collab site being made a record and the existing collab user having record read permissions without being added to the RM site or given an RM role.
* this check-in is sufficient to demonstrate that collaboration users can create records and view them without having to introduce any form of noticable mapping between the RM and Collab sites. (relates to RM-485)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/INPLACE@41708 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* 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
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/INPLACE@41707 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* RM-336: Impossible to create File Report for transferred object
* RM-170: Not successfully complete Transfer action
* RM-210: Assession disposition action does not disappear after event completion
* RM-224: Script error when add Disposition Transfer Step if user doesn't have access to any Transfer Location
* RM-346: Incorrect list of actions for transfered Folder or Record
* RM-358: A folder isn't displayed in Transfers without without reloading the page.
* RM-331: Audit is removed from Transfers and Holds
* Also the transfer and accession capabilities are refactored to work correctly.
* Transfer, accend, and relevant complete actions all correctly react to the different capability assignments.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Refactored server side unit tests (exposed at least one bug and shows that the event and property filters are still not working)
* Fixed up admin and object audit views (formatting is still terrible, but it's functional)
* Will close out the related issue, since formatting and other issues are covered by other bugs.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Added Record Folder, Record Category and composite Move capabilities (all private and based on exisiting capabilities)
* Added RM UI actions for record, folder and category move wired up to new capabilities .. this means the UI actions correctly reflect the capabilities of the user
* Unit tests
* Started to move the capabilitiy spring def's into logically seperate files
* Rewrote origional RecordsMove capability (replaced with spring config)
* Added TargetCapability configuration to declarative capability implementation .. provides a way to evaluate capability when a target node reference is being taken into consideration
* Added title and description to declarative capability (for future use)
* Removed unwated 'old' doclib overrides (where confussing the issue)
* Clean up the security service which was duplicating methods now found on the capability service
* Remove capability set support ... old work around used before updated evaluators where used
* Fixes RM-203, RM-328, RM-165, RM-204 (and possibly some others I've yet to find!)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36338 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* refactored the way disposition properties work
* now additional disposition date properties are sprung in and registered in the disposition service
* each disposition property bean looks after updating the disposition asof date when the date property changes
* defaults to null date if can not be calculated
* unit test for new method and this issue
* also updated build scripts to successfully run unit test .. will gradually add in other unit tests as their reliability is improved
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@36222 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Edit details Ui action now reflects user's capabilites correctly
* Fixed up a couple of behaviours that don't execute when non-admin user (run as system user since admin may not be rm admin)
* Transfers not appear in docLib filter correcetly
* File UI action now reflects the user's capability correctly.
* Renamed 'group' capabilities to 'private' as this more accurately reflects what it means.
* Added composite capability implementation ... allows us to futher consolidate some of the edge cases and will allow us to break down further some of the existing capabilities .. this makes is much easier to see and understand exactlly what each capability is doing
* Refactored current 'group' capabilities .. replacing with pure spring config where appropriate .. much clearer what they are doing (and fixed up where they wheren't doing exactlly the right thing)
* Moved the remaining group capabilities impl's with the other capability impl's .. we are now down to 8 custom capability implementations .. down from 50+ .. and these havily borrow from the base classes where they can ... makes maintenance MUCH easier!
* more unit tests
* used new 'private' capability technique to break up FileRecord capability ... it's now clear what it is doing and could be corrected easily
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35350 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Fixed up issues seen during QA security knowledge transfer session
* hard coded "Read" evaluation in DocLib js is overridden in RM to account for "ReadRecord" ... not ideal solution but no other option for the moment
* property pages now show for non-admin users
* actions on toolbar showing and hidding correctly when capabilities missing
* other actions showing and hiding correctly when capabilities missing
* view details UI action to capability link now working correctly
* some unit test monkeying
* gradle scripts have 'explodedDeploy' taget which does deploys content of AMP (or at least what would be the contents of the AMP) to the exploded web apps ... speeds up dev time heaps!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35251 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Removed web script tests dependancy on DOD test data
* refactor base RM test and placed common utils in common class
* base rm web script class created
* unit tests refactored (still some work on the older tests required)
* junit conflict resolved
RM Bug Fixs:
* user rights view working again
* fix from Erik so RM admin console works
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* moved RM tests into separate folder structure
* updated Gradle scripts with test source locations and dependancies .. 'gradlew test' will now attempt to execute the unit tests (even if they fail!)
* eclipse project dependancies updated so unit tests execute within the RM eclipse project
* TODO get the unit tests working reliabily! (still lots of refactoring of old tests to do)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261