|
|
@ -5,6 +5,7 @@ import { FormattedMessage, useIntl } from 'react-intl' |
|
|
|
import { ModalDialog } from '@remix-ui/modal-dialog' |
|
|
|
import { ModalDialog } from '@remix-ui/modal-dialog' |
|
|
|
import useLocalStorage from '../custom-hooks/useLocalStorage' |
|
|
|
import useLocalStorage from '../custom-hooks/useLocalStorage' |
|
|
|
import { PluginPermissions } from '../../types' |
|
|
|
import { PluginPermissions } from '../../types' |
|
|
|
|
|
|
|
import { CustomTooltip } from '@remix-ui/helper' |
|
|
|
|
|
|
|
|
|
|
|
function PermisssionsSettings () { |
|
|
|
function PermisssionsSettings () { |
|
|
|
const [modalVisibility, setModalVisibility] = useState<boolean>(true) |
|
|
|
const [modalVisibility, setModalVisibility] = useState<boolean>(true) |
|
|
@ -130,12 +131,20 @@ function PermisssionsSettings () { |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
</ModalDialog> |
|
|
|
</ModalDialog> |
|
|
|
<footer className="bg-light remixui_permissions remix-bg-opacity"> |
|
|
|
<footer className="bg-light remixui_permissions remix-bg-opacity"> |
|
|
|
|
|
|
|
<CustomTooltip |
|
|
|
|
|
|
|
placement={"top"} |
|
|
|
|
|
|
|
tooltipId="pmPermissions" |
|
|
|
|
|
|
|
tooltipClasses="text-nowrap" |
|
|
|
|
|
|
|
tooltipText={"Manage plugins Permissions"} |
|
|
|
|
|
|
|
key={"keypmPermissions"} |
|
|
|
|
|
|
|
> |
|
|
|
<button |
|
|
|
<button |
|
|
|
onClick={openModal} |
|
|
|
onClick={openModal} |
|
|
|
className="btn btn-primary settings-button" |
|
|
|
className="btn btn-primary settings-button" |
|
|
|
data-id="pluginManagerPermissionsButton"> |
|
|
|
data-id="pluginManagerPermissionsButton"> |
|
|
|
<FormattedMessage id="pluginManager.Permissions" /> |
|
|
|
<FormattedMessage id="pluginManager.Permissions" /> |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
|
|
|
|
</CustomTooltip> |
|
|
|
</footer> |
|
|
|
</footer> |
|
|
|
</Fragment> |
|
|
|
</Fragment> |
|
|
|
) |
|
|
|
) |
|
|
|