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-6.3.2 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-6.3.1 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-6.4.1 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-6.4.0 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-6.3.0 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-6.2.0 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-6.1.1 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-6.0.2 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-6.1.0 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-6.0.1 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-5.1.3 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-6.0.0 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-5.1.2 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-5.1.1 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-5.1.0 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-4.0.3.5 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-4.0.3.4 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-4.0.3.3 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-4.0.3.2 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js
foreman_ansible-5.0.1 webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js