Skip to content
Snippets Groups Projects
Commit 3d1aa0c1 authored by Barbara B. Frosik's avatar Barbara B. Frosik
Browse files

added policies

parent 87e4a98a
No related branches found
No related tags found
No related merge requests found
...@@ -180,6 +180,8 @@ DM_DB_TABLES="\ ...@@ -180,6 +180,8 @@ DM_DB_TABLES="\
user_info \ user_info \
role_type \ role_type \
user_system_role \ user_system_role \
policy_type \
allowed_policy_type
" "
for dbTable in $DM_DB_TABLES; do for dbTable in $DM_DB_TABLES; do
dbFile=populate_$dbTable.sql dbFile=populate_$dbTable.sql
......
...@@ -3,10 +3,9 @@ ...@@ -3,10 +3,9 @@
<ui:composition xmlns="http://www.w3.org/1999/xhtml" <ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html" xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui" xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<c:set var="roleTypeObject" value="#{roleTypeController.selected}"/> <ui:param name="roleTypeObject" value="#{roleTypeController.selected}"/>
<p:panelGrid columns="2" styleClass="createEntityDetails"> <p:panelGrid columns="2" styleClass="createEntityDetails">
......
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"> xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<c:set var="roleTypeObject" value="#{roleTypeController.selected}"/> <ui:param name="roleTypeObject" value="#{roleTypeController.selected}"/>
<c:set var="isFieldWriteable" value="#{loginController.loggedIn}"/>
<p:panelGrid columns="2" styleClass="editEntityDetails"> <p:panelGrid columns="2" styleClass="editEntityDetails">
......
...@@ -3,10 +3,9 @@ ...@@ -3,10 +3,9 @@
<ui:composition xmlns="http://www.w3.org/1999/xhtml" <ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html" xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui" xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<c:set var="roleTypeObject" value="#{roleTypeController.selected}"/> <ui:param name="roleTypeObject" value="#{roleTypeController.selected}"/>
<p:panelGrid columns="2" styleClass="viewEntityDetails"> <p:panelGrid columns="2" styleClass="viewEntityDetails">
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
<p/> <p/>
<ui:param name="roleTypeObject" value="#{roleTypeController.selected}"/> <ui:param name="roleTypeObject" value="#{roleTypeController.selected}"/>
<ui:param name="isEntityWriteable" value="#{loginController.loggedIn}"/>
<div class="actionButton"> <div class="actionButton">
<p:commandButton action="#{roleTypeController.prepareEdit(roleTypeObject)}" rendered="#{loginController.admin}" value="Edit" alt="Edit" icon="ui-icon-pencil"/> <p:commandButton action="#{roleTypeController.prepareEdit(roleTypeObject)}" rendered="#{loginController.admin}" value="Edit" alt="Edit" icon="ui-icon-pencil"/>
<p:commandButton action="#{roleTypeController.prepareList()}" value="Return" alt="Return" icon="ui-icon-arrowreturnthick-1-w"/> <p:commandButton action="#{roleTypeController.prepareList()}" value="Return" alt="Return" icon="ui-icon-arrowreturnthick-1-w"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment