Skip to content

Commit

Permalink
Fixes #23646: Remove OpenSCAP page from plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
amousset committed Oct 25, 2023
1 parent 3227b01 commit 3c08b12
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 56 deletions.
4 changes: 0 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@

def failedBuild = false
<<<<<<< HEAD
def version = "8.0"
=======
def version = "8.0-next"
>>>>>>> 8.0-next

def changeUrl = env.CHANGE_URL
def blueUrl = "${env.JOB_DISPLAY_URL}"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,4 @@ class OpenscapPoliciesPluginDef(override val status: PluginStatus) extends Defau
}

val configFiles = Seq()

override def pluginMenuEntry: List[(Menu, Option[String])] = {
(
(Menu("openScapPolicies", <span>OpenSCAP policies</span>) /
"secure" / "plugins" / "OpenScapPolicies"
>> LocGroup("pluginsGroup")
>> TestAccess(() => Boot.userIsAllowed("/secure/index", Administration.Read))
>> Template(() =>
ClasspathTemplates("template" :: "OpenScapPoliciesManagement" :: Nil) openOr <div>Template not found</div>
)).toMenu,
None
) :: Nil
}
}

0 comments on commit 3c08b12

Please sign in to comment.