Sha256: 6000e5e975e055b8e738913a7472dcc4d3db449e97d2bac37cb8f28919f5b1c0

Contents?: true

Size: 803 Bytes

Versions: 87

Compression:

Stored size: 803 Bytes

Contents

import React from 'react';
import { translate as __ } from 'foremanReact/common/I18n';
import { EmptyStatePattern as EmptyState } from 'foremanReact/components/common/EmptyState';

const AnsiblePermissionDenied = props => {
  const description = (
    <span>
      {__('You are not authorized to perform this action.')}
      <br />
      {__(
        'Please request one of the required permissions listed below from a Foreman administrator:'
      )}
      <br />
    </span>
  );

  const doc = (
    <ul className="list-unstyled">
      <li>view_ansible_roles</li>
    </ul>
  );

  return (
    <EmptyState
      iconType="fa"
      icon="lock"
      header={__('Permission Denied')}
      description={description}
      documentation={doc}
    />
  );
};

export default AnsiblePermissionDenied;

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
foreman_ansible-15.0.2 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-15.0.1 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-15.0.0 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-14.2.2 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-14.2.1 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-13.0.7 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-14.2.0 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-14.1.1 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-14.1.0 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-13.0.5 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-14.0.0 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-13.0.4 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-13.0.3 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-13.0.2 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-13.0.1 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-13.0.0 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-12.0.7 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-10.4.4 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-7.1.8 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-12.0.6 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js