[MGNLSTK-1353] Grant existing user(s) eric and peter with forum-permissions Created: 08/Feb/14  Updated: 12/Mar/14  Resolved: 12/Mar/14

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: demoproject
Affects Version/s: None
Fix Version/s: 2.7.3

Type: Task Priority: Neutral
Reporter: Christoph Meier Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing MGNLSTK-1351 Ship demo-content-pages with forums-c... Closed
dependency
depends upon MGNLSTK-1348 Install demo-contents, forum-template... Closed
relation
is related to MGNLSTK-1351 Ship demo-content-pages with forums-c... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

Grant existing user(s) eric with roles for administration and peter with roles for moderation of the forum.

(This requirement has been moved MGNLFORUM-210 to have its own ticket.)



 Comments   
Comment by Christoph Meier [ 08/Feb/14 ]

Note, that we'd like to be able to release forum/commenting independent from other modules.

SO. The idea was to grant Eric the Admin-permissions (roles "forum-moderator-base" and "forum_ALL-admin") and peter the moderator permissions ("forum_ALL-moderator" and "forum-moderator-base").
This should be done in ForumModuleVersionHandler with e.g. ConditionalDelegateTask. To ensure that this works, we must add an optinal dep. of forum to demo-project; but this cannot be done since there is already already an optinal dep. from STK to forum.

Possible "solution":
We let the optional dep. from stk to forum.
We still try to grant the roles to eric and peter from ForumModuleVersionHandler - which will not work for complete fresh installation, but at least it would work for updates.
Additionally we add a task in the DemoProjectVersionHandler which will grant eric and peter the roles (in new installations) as soon as the next STK-version gets released.

Note, that there is a similar "problem" for MGNLFORUM-229.

Comment by Christoph Meier [ 10/Feb/14 ]

Final decision: Let DemoProjectVersionHandler handle this.

Comment by Christoph Meier [ 11/Feb/14 ]

commits are done to MGNLSTK-1348

Comment by Christoph Meier [ 21/Feb/14 ]

reopened, since MVH changed and MVH-Test was improved, too.

Comment by Aleksandr Pchelintcev [ 24/Feb/14 ]

It looks like the order of the imports does not follow the pattern proposed by our checkstyle settings.

Comment by Christoph Meier [ 04/Mar/14 ]

Final commit on master was done against MGNLSTK-1348.

Comment by Roman Kovařík [ 12/Mar/14 ]

forum-moderator-base will be removed as per MGNLFORUM-250.

Generated at Mon Feb 12 07:35:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.