- <td>
- <a onClick={this.handleEditVirtualLinkClick.bind(this, this.props.data.id, vlrId, vldId)}>
- <span className="oi" data-glyph="pencil" aria-hidden="true"></span>
- </a>
- <a onClick={this.handleDeleteVirtualLinkClick.bind(this, this.props.data.id, vldId)}>
- <span className="oi" data-glyph="trash" aria-hidden="true"></span>
- </a>
- </td>
+ {
+ isRBACValid(this.context.userProfile, [PROJECT_ROLES.LCM_ADMIN, PROJECT_ROLES.PROJECT_ADMIN]) ?
+ <td>
+ <a onClick={this.handleEditVirtualLinkClick.bind(this, this.props.data.id, vlrId, vldId)}>
+ <span className="oi" data-glyph="pencil" aria-hidden="true"></span>
+ </a>
+ <a onClick={this.handleDeleteVirtualLinkClick.bind(this, this.props.data.id, vldId)}>
+ <span className="oi" data-glyph="trash" aria-hidden="true"></span>
+ </a>
+ </td>
+ : null
+ }