| Summary: | When a DDiagram is locked by using a permission authority some actions are still available | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Mickael LANOE <mickael.lanoe> | ||||||||
| Component: | Core | Assignee: | Project inbox <sirius.core-inbox> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | Belqassim Djafer <belqassim.djafer> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | alex.lagarde, belqassim.djafer, laurent.fasani, laurent.redor, maxime.porhel, pierre-charles.david | ||||||||
| Version: | 1.0.0 | Keywords: | triaged | ||||||||
| Target Milestone: | 3.0.0M6 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| See Also: |
https://git.eclipse.org/r/42497 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c9432acc8ac52333fb8fb1e333556eb093b08788 |
||||||||||
| Whiteboard: | |||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 444267, 453994, 456132 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Mickael LANOE
Mickael, could you add a scenario to reproduce the issue. It will ease the homologation. Created attachment 246541 [details]
SWTBot test
SWTBot test to show that some tabbar actions should be disabled
This issue scope is only the tabbar actions. The 2 GMF Actions from Appearance Page (Underline and Stricke) are considered as out of scope (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=444267) Review suceeded https://git.eclipse.org/r/#/c/32454/ Gerrit https://git.eclipse.org/r/#/c/33818/ and commit 59fa392fad179ef1d128b9989d906c6f6fc6fe1e Cloned as bug #456132 to backport the fix into Sirius 2.0.x. Not completely fixed When user1 locks the diagram, user2 can still expand the menu and access the ArrangeAll and ArrangeAllBorderNodes commands until user2 click in the diagram. Note that the other menus like filter or layer and disabled See Laurent's comment New Gerrit change created: https://git.eclipse.org/r/42497 Gerrit change https://git.eclipse.org/r/42497 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c9432acc8ac52333fb8fb1e333556eb093b08788 fix bu commit 1d95dc63c4634a3f607855a31e92ebe392adeb56 Can not verify this issue in a Sirius environment Created attachment 253820 [details]
sample permission authority
Created attachment 253821 [details]
test project
To validate this issue: . add the sample permission authority plugin project to your workspace . launch a runtime . add the sample project to the runtime's workspace . open 'p0 package entities' diagram. . ensure that Pin/Unpin, Show/Hide, Filter, Layers and Arrange actions are disabled. Verified with Sirius 3.0.0 RC1 Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0. |