Skip to content

Commit

Permalink
WIP for new Jira custom field
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Jun 7, 2024
1 parent 3fcbb97 commit e9a8bd7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dashboard-gui/src/javascripts/pages/invite_request.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,14 +366,14 @@ class InviteRequest extends React.Component {
</div>
</section>
</div>
<ConnectModalContainer isOpen={showJiraDownModal} onClose={() => setShowJiraDownModal(false)}>
<ConnectModalContainer isOpen={showJiraDownModal} onClose={() => this.setState({showJiraDownModal: false})}>
<div>
<div className="connect-modal-header">{I18n.t('how_to_connect_panel.jira_down')}</div>
<div className="connect-modal-body">
<p dangerouslySetInnerHTML={{ __html: I18n.t('how_to_connect_panel.jira_down_description') }}/>
</div>
<div className="buttons">
<button className="c-button white" onClick={() => setShowJiraDownModal(false)}>
<button className="c-button white" onClick={() => this.setState({showJiraDownModal: false})}>
{I18n.t('how_to_connect_panel.close')}
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public class MockShibbolethFilter extends GenericFilterBean {
public static final String idp = "http://mock-idp";//,"https://idp.surfnet.nl";//"https://localhost.surf.id"; //"https://idp.surf.nl"
public final String authnContextClass = "urn:oasis:names:tc:SAML:2.0:ac:classes:Password";
// public final String authnContextClass = "http://test2.surfconext.nl/assurance/loa2";
public String role = "admin";
// public String role = "super";
// public String role = "admin";
public String role = "super";

@Override
public void doFilter(ServletRequest servletRequest, ServletResponse response, FilterChain chain) throws IOException,
Expand Down
4 changes: 2 additions & 2 deletions dashboard-server/src/main/resources/jira/mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"customFields": {
"spEntityId": "13018",
"idpEntityId": "13012",
"emailTo": "13010",
"emailTo": "17300",
"typeMetaData": "14800",
"optionalMessage": "15300"
},
Expand All @@ -20,7 +20,7 @@
"customFields": {
"spEntityId": "13018",
"idpEntityId": "13012",
"emailTo": "13010",
"emailTo": "17300",
"typeMetaData": "14800",
"optionalMessage": "15300"
},
Expand Down

0 comments on commit e9a8bd7

Please sign in to comment.