mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 01:22:54 +00:00
feat: add auth provider to config menu items
This commit is contained in:
@@ -16,12 +16,19 @@ import {Polygon} from 'geojson';
|
|||||||
import {SCTranslations} from '../general/i18n';
|
import {SCTranslations} from '../general/i18n';
|
||||||
import {SCMap} from '../general/map';
|
import {SCMap} from '../general/map';
|
||||||
import {SCLanguageSetting, SCSetting, SCUserGroupSetting} from '../things/setting';
|
import {SCLanguageSetting, SCSetting, SCUserGroupSetting} from '../things/setting';
|
||||||
|
import {SCAuthorizationProviderType} from './authorization';
|
||||||
import {SCFeatureConfiguration} from './feature';
|
import {SCFeatureConfiguration} from './feature';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An app configuration menu item
|
* An app configuration menu item
|
||||||
*/
|
*/
|
||||||
export interface SCAppConfigurationMenuItem {
|
export interface SCAppConfigurationMenuItem {
|
||||||
|
/**
|
||||||
|
* Key of authorization provider available in SCConfigFile
|
||||||
|
* Restricting and enabling the usage of this item
|
||||||
|
*/
|
||||||
|
authProvider?: SCAuthorizationProviderType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Icon for the menu item
|
* Icon for the menu item
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user