Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PersonaBar Manage/Roles to show Role ID #6154

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ class RolesEditor extends Component {
render() {
let { state, props } = this;
const columnOne = <div key="editor-container-columnOne" className="editor-container">
<div className="editor-row divider" style={{marginTop:"-3rem"}}>
<Label
label={resx.get("RoleId") + ": " + state.roleDetails.id} />
</div>
<div className="editor-row divider">
<SingleLineInputWithError
value={state.roleDetails.name}
Expand Down Expand Up @@ -398,4 +402,4 @@ function mapStateToProps(state) {
};
}

export default connect(mapStateToProps)(RolesEditor);
export default connect(mapStateToProps)(RolesEditor);
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ RoleRow.propTypes = {
openId: PropTypes.string,
currentIndex: PropTypes.number,
visible: PropTypes.bool,
roleIsApproved: PropTypes.bool
roleIsApproved: PropTypes.bool,
addIsClosed: PropTypes.bool,
children: PropTypes.node
};
RoleRow.defaultProps = {
collapsed: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ UserRow.propTypes = {
userDetails: PropTypes.object.isRequired,
index: PropTypes.number,
saveUser: PropTypes.func.isRequired,
deleteUser: PropTypes.func.isRequired
deleteUser: PropTypes.func.isRequired,
roleName: PropTypes.string.isRequired,
dispatch: PropTypes.func.isRequired
};
UserRow.defaultProps = {
roleUsersList: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@
<data name="RoleName.Text" xml:space="preserve">
<value>Role Name</value>
</data>
<data name="RoleId.Text" xml:space="preserve">
<value>Role ID</value>
</data>
<data name="securityModeListLabel.Text" xml:space="preserve">
<value>Security Mode</value>
</data>
Expand Down