1、用户管理恢复用户身份标识字段配置,普通用户不能查看、新建、修改管理员用户;
2、角色管理恢复角色类型字段配置,普通用户不能查看、新建、修改管理员类型的角色。 Signed-off-by: zhangwei <zhangwei2@iie.ac.cn>
This commit is contained in:
@@ -106,23 +106,30 @@
|
||||
</div>
|
||||
<span class="help-inline"><font color="red">*</font> </span>
|
||||
</div>
|
||||
<input type="hidden" name="roleType" value="user"/>
|
||||
<%-- <div class="form-group">
|
||||
<label class="col-md-3 control-label"><spring:message code="role_type"/>:</label>
|
||||
<div class="col-md-4">
|
||||
<form:input path="roleType" htmlEscape="false" maxlength="50" class="required"/>
|
||||
<span class="help-inline" title="activiti有3种预定义的组类型:security-role、assignment、user 如果使用Activiti Explorer,需要security-role才能看到manage页签,需要assignment才能claim任务">
|
||||
工作流组用户组类型(security-role:管理员、assignment:可进行任务分配、user:普通用户)</span>
|
||||
<form:select path="roleType" class="form-control">
|
||||
<form:option value="assignment"><spring:message code="task_allot"/></form:option>
|
||||
<form:option value="security-role"><spring:message code="manager"/></form:option>
|
||||
<form:option value="user"><spring:message code="ordinary_man"/></form:option>
|
||||
</form:select>
|
||||
<span class="help-inline" title="activiti有3种预定义的组类型:security-role、assignment、user 如果使用Activiti Explorer,需要security-role才能看到manage页签,需要assignment才能claim任务">
|
||||
<spring:message code="role_type_info"/></span>
|
||||
</div>
|
||||
</div>
|
||||
--%>
|
||||
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${fns:getUser().identity eq 1}">
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label"><spring:message code="role_type"/>:</label>
|
||||
<div class="col-md-4">
|
||||
<!-- <form:input path="roleType" htmlEscape="false" maxlength="50" class="required"/>
|
||||
<span class="help-inline" title="activiti有3种预定义的组类型:security-role、assignment、user 如果使用Activiti Explorer,需要security-role才能看到manage页签,需要assignment才能claim任务">
|
||||
工作流组用户组类型(security-role:管理员、assignment:可进行任务分配、user:普通用户)</span> -->
|
||||
<form:select path="roleType" class="form-control">
|
||||
<%-- <form:option value="assignment"><spring:message code="task_allot"/></form:option> --%>
|
||||
<form:option value="security-role"><spring:message code="manager"/></form:option>
|
||||
<form:option value="user"><spring:message code="ordinary_man"/></form:option>
|
||||
</form:select>
|
||||
<%-- <span class="help-inline" title="activiti有3种预定义的组类型:security-role、assignment、user 如果使用Activiti Explorer,需要security-role才能看到manage页签,需要assignment才能claim任务">
|
||||
<spring:message code="role_type_info"/></span> --%>
|
||||
</div>
|
||||
</div>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<input type="hidden" name="roleType" value="user"/>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label"><spring:message code="data_range"/>:</label>
|
||||
|
||||
Reference in New Issue
Block a user