Skip to content

Commit 7fd1c51

Browse files
committed
Fix conditional rendering of 'Profiles' tab in system details (bsc#1271963)
1 parent ca2ead6 commit 7fd1c51

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Fix Profile tab display in system details menu (bsc#1271963)

java/webapp/src/main/webapp/WEB-INF/nav/system_detail.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<rhn-tab name="pkg.lock.menu" acl="authorized_for(systems.software.packages, W); system_feature(ftr_package_lock)">
6464
<rhn-tab-url>/rhn/systems/details/packages/LockPackages.do</rhn-tab-url>
6565
</rhn-tab>
66-
<rhn-tab name="Profiles" acl="authorized_for(systems.software.packages.profiles); system_feature(ftr_profile_compare)">
66+
<rhn-tab name="Profiles" acl="authorized_for(systems.profiles); system_feature(ftr_profile_compare)">
6767
<rhn-tab-url>/rhn/systems/details/packages/profiles/ShowProfiles.do</rhn-tab-url>
6868
<rhn-tab-url>/rhn/systems/details/packages/profiles/Create.do</rhn-tab-url>
6969
<rhn-tab-url>/rhn/systems/details/packages/profiles/CompareSystems.do</rhn-tab-url>

java/webapp/src/main/webapp/WEB-INF/pages/systems/details/packages/profiles/profiles.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
<hr />
6161

62-
<rhn:require acl="authorized_for(systems.software.packages.profiles, W);">
62+
<rhn:require acl="authorized_for(systems.profiles, W);">
6363
<div class="form-horizontal">
6464
<div class="form-group">
6565
<div class="col-md-12">

0 commit comments

Comments
 (0)