Sha256: f34312e03f44bc68f12f33b479e45b1a2c3bdd49d076dbbc5a689b56f4ff1bc6

Contents?: true

Size: 552 Bytes

Versions: 2

Compression:

Stored size: 552 Bytes

Contents

/** @jsx React.DOM */

var User = React.createClass({
  render: function(){
    var user = this.props.data;
    console.log("render User data=", user);
    return (
      <div className="user">
        <h2> User {user.login} </h2>
        <dl>
          <dt> Owner </dt>
          <dd><RoleLink id={user.ownerid}/></dd>
        </dl>
        <Permissions role={user.roleid}/>
        <div className="audit auditGroup">
          <AuditBox roles={[user.roleid]} resources={[user.resource_identifier]}/>
        </div>
      </div>
      
    );
  }
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conjur-asset-ui-api-1.1.1 public/js/views/user.js
conjur-asset-ui-api-1.1.0 public/js/views/user.js