[Start now] error occurs

Description

Start now function works on v0.9.1. but not on v0.9.1.1, v0.9.1.2, v0.9.1.3 (only fresh install status)
it says "Not authorized to perform the action: Start Feed"

I think it's because "StartFeedPermUpgradeAction.java" in upgrade-service.

@Override
public boolean isTargetVersion(KyloVersion version) {
return version.matches("0.9", "1", "");
}

So, In the case of deleting kylo database (fresh install mode), the version above 0.9.1.0 doesn't upgrade regarding start feed permmissions.

if it is a bug, there are 2 solution.
1. make StartFeedPermUpgradeAction to work on fresh install mode.
2. edit init modeshape node regarding "FeedAccessControl.START"

Environment

v0.9.1.1+

Activity

Show:
Kay
November 19, 2018, 4:33 PM

I figured out that there is an upgrade package for v0_10_0 in master branch and it has StartFeedPermUpgradeAction.java too. but I think we need a hotfix for v0.9#. My solution is adding

@Override
public boolean isTargetPreFreshInstall(KyloVersion finalVersion) { return true; }

in StartFeedPermUpgradeAction.java (v0_9_1 folder). I can contribute if everything is okay with you.

Scott Reisdorf
December 8, 2018, 12:29 AM

0.10.0 is out now. Upgrading will give you a variety of new features and fix the current issue you have.
https://kylo.readthedocs.io/en/v0.10.0/release-notes/ReleaseNotes10.0.html

Done

Assignee

Unassigned

Reporter

Kay

Labels

Reviewer

None

Story point estimate

None

Components

Fix versions

Affects versions

Priority

Highest