webapp.api-extender-admin.pages.settings.jsp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ch.sbb.polarion.extension.api-extender Show documentation
Show all versions of ch.sbb.polarion.extension.api-extender Show documentation
This Polarion extension provides additional functionality which is not implemented in standard Polarion API for some reason
The newest version!
<%@ page import="ch.sbb.polarion.extension.api.extender.util.RolesUtils" %>
<%@ page import="ch.sbb.polarion.extension.generic.rest.model.Version" %>
<%@ page import="ch.sbb.polarion.extension.generic.util.ExtensionInfo" %>
<%@ page import="java.util.Collection" %>
<%! Version version = ExtensionInfo.getInstance().getVersion();%>
Hooks: Settings
Authorization settings
<%
Collection globalRoles = RolesUtils.getGlobalRoles();
out.println("Global Roles");
for (String role : globalRoles) {
out.println("" +
"" +
" " +
" " +
" ");
}
%>
<%
Collection projectRoles = RolesUtils.getProjectRoles(request.getParameter("scope"));
if (!projectRoles.isEmpty()) {
out.println("Project Roles");
}
for (String role : projectRoles) {
out.println("" +
"" +
" " +
" " +
" ");
}
%>
"/>
"/>
Quick Help
Permissions
Reading of project custom fields is not restricted.
Writing of project custom fields can be allowed with selected global and project roles.
By default only global admin role is allowed.