Bug 415375 - [CDO] Model repository administration
Summary: [CDO] Model repository administration
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.10.0   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: M3   Edit
Assignee: Christian Damus CLA
QA Contact:
URL:
Whiteboard: Usability
Keywords: plan
Depends on: 399306 399486 399487 418452 418454
Blocks:
  Show dependency tree
 
Reported: 2013-08-19 15:41 EDT by Christian Damus CLA
Modified: 2013-11-14 15:14 EST (History)
2 users (show)

See Also:
give.a.damus: luna+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Damus CLA 2013-08-19 15:41:59 EDT
The Kepler release implemented connection of Papyrus to existing CDO model repositories.  This does not account for the need to create, configure, and delete those repositories.

The following capabilities are required of a repository administration UI:

  * create new repository:  specifying the server, back-end store type,
    and properties (which depend on the store type but may include such
    things as table mapping strategies, auditing/branching, etc.)

  * delete repository

  * configure users, roles, groups, permissions (a more abstract interface
    than editing the raw security model resource)

For repository creation and deletion, the implementation is expected to have variability according to back-end data store.  The scope of this initial implementation will be limited to the H2 embedded RDBMS back-end only.  Also, modification of the properties of an existing repository and migration of data from one repository to another are not in scope.

Much or all of this work is expected to be contributed to the CDO project; appropriate enhancements will be linked to this bugzilla item, which serves at least for visibility/traceability of the needs of the Papyrus user community.
Comment 1 Christian Damus CLA 2013-10-01 15:52:01 EDT
Linked the CDO enhancements that will provide the functionality required herein.
Comment 2 Christian Damus CLA 2013-11-12 16:25:52 EST
Fixed in git master.  Most of the enhancements are implemented in CDO (see the linked bugzilla items) but a few integration bits are implemented in Papyrus:

commit 26194d2:

From the results of the query for Papyrus model resources in the repo to populate the Model Repositories view, filter out resources (Papyrus Models) that are in folders that the logged-in user does not have permission to read.

commit aafe5e0:

Integrate the new CDO "Change Password" and "Manage Security" functions into the context menu in the Model Repositories View.  Also ensure that certain actions for creating and deleting objects/models in the repository are only enabled as appropriate to the user's permissions on those objects, containing folders, etc.

commit fc7dc3d:

Integrate model repository administration functions:  respond to events from CDO indicating the creation or deletion of repositories in the CDO Administration view, prompting the user to add/remove them (as appropriate) in the Model Repositories View.
Comment 3 Christian Damus CLA 2013-11-14 15:14:46 EST
Updating target milestone to reflect actual delivery.