Sha256: 6bd3213836ba31ce22fd9c11be50d257bbf3ebbc5366e5708a379bf848545dd7
Contents?: true
Size: 984 Bytes
Versions: 1
Compression:
Stored size: 984 Bytes
Contents
/** @jsx React.DOM */ var Group = React.createClass({ render: function() { var members = this.props.data.members.map(function (member) { return <li> <RoleLink id={member.member} /> </li> }.bind(this)); var resourceId = [ conjurConfiguration.account, 'group', this.props.data.group.id ].join(':') var group = this.props.data.group; return ( <div className="group"> <h2>Group {this.props.data.group.id}</h2> <dl> <dt>Owner</dt> <dd><RoleLink id={this.props.data.group.ownerid}/></dd> <dt>Members</dt> <dd> <ul> {members} </ul> </dd> </dl> <OwnedResources owned={this.props.data.owned} /> <Permissions owned={this.props.data.owned} role={group.roleid}/> <div className="audit auditGroup"> <AuditBox roles={[resourceId]} resources={[resourceId]}/> </div> </div> ); } });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
conjur-asset-ui-api-1.2.0 | public/js/views/group.js |