Skip to content

fix: state each server settings screen's permission requirement on the screen itself (9.10 backport) - #241

Draft
baptistegrimaud wants to merge 1 commit into
chore/prepare-9_10_1-snapshotfrom
audit/settings-screen-permission-9_10_x
Draft

fix: state each server settings screen's permission requirement on the screen itself (9.10 backport)#241
baptistegrimaud wants to merge 1 commit into
chore/prepare-9_10_1-snapshotfrom
audit/settings-screen-permission-9_10_x

Conversation

@baptistegrimaud

Copy link
Copy Markdown
Contributor

Backport of #234 onto the 9_10_x line.

Based on #240, not on 9_10_x directly. That PR opens the line for development on 9.10.1-SNAPSHOT and makes it publishable; this one is stacked on it so the change lands on a line that can actually ship. Merge #240 first, and this PR's base then needs retargeting to 9_10_x.

What differs from #234

One thing. The changelog entry is left out. This line has no .chachalog directory and none of its tooling reads one, which is also how 9_7_x stands.

The rest is identical to what merged on main: both view .properties files and the Cypress spec, applied without conflict.

Checked on this line rather than assumed

  • Both permissions the properties name are already defined here, in src/main/import/permissions.xml.
  • The spec imports six helpers from @jahia/cypress. This line pins ^3.35.0 where main is on ^8.2.1, so they were checked against 3.35.0 itself rather than against the version installed in a working copy: all six are present, and their signatures match the calls the spec makes.

Not verified here

The suite has not been run against a deployed 9.10 instance. CI on this branch is the first execution.

…e screen itself

Backport of #234 onto the 9_10_x line.

The About and system information screens each declare, next to their own
default view, the permission they require. Stating it on the view rather than
on the settings template that normally hosts them means the requirement
travels with the screen and holds on every render path.

Both permissions the properties name are already defined on this line, in
src/main/import/permissions.xml.

The changelog entry from #234 is left out: this line has no .chachalog
directory and none of its tooling reads one.
@jahia-sonarqube

Copy link
Copy Markdown

Quality Gate failed Quality Gate failed

Failed conditions
20 New Maintainability Issues (required ≤ 0)
105 Added Technical Debt (required ≤ 0)
C Reliability Rating on New Code (required ≥ A)
13 New Reliability Issues (required ≤ 0)

See analysis details on SonarQube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant