/** @jsx React.DOM */
/* global conjur, React, ReactBootstrap, _ */
(function(conjur, React, ReactBootstrap, _) {
'use strict';
var TabbedArea = ReactBootstrap.TabbedArea,
TabPane = ReactBootstrap.TabPane,
Tab = conjur.views.mixins.Tab,
RoleLink = conjur.views.RoleLink,
AuditBox = window.AuditBox;
this.Policy = React.createClass({
mixins: [Tab],
render: function() {
var policy = this.props.data.policy,
id = policy.id.split(':')[2];
//TODO: policy loader
//TODO in CLI: why not save text of policy as an annotation?
var overviewTab = (