mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-07 01:16:28 +02:00
chore: Trim some dead code to make the linter happy
This commit is contained in:
parent
21560f2dac
commit
5abe99f431
@ -9,7 +9,6 @@ import {
|
|||||||
IUserPermission,
|
IUserPermission,
|
||||||
} from '../types/stores/access-store';
|
} from '../types/stores/access-store';
|
||||||
import { IPermission } from 'lib/types/model';
|
import { IPermission } from 'lib/types/model';
|
||||||
import { roundToNearestMinutesWithOptions } from 'date-fns/fp';
|
|
||||||
import NotFoundError from '../error/notfound-error';
|
import NotFoundError from '../error/notfound-error';
|
||||||
import {
|
import {
|
||||||
ENVIRONMENT_PERMISSION_TYPE,
|
ENVIRONMENT_PERMISSION_TYPE,
|
||||||
|
@ -37,12 +37,6 @@ const PROJECT_ADMIN = [
|
|||||||
permissions.DELETE_FEATURE,
|
permissions.DELETE_FEATURE,
|
||||||
];
|
];
|
||||||
|
|
||||||
const PROJECT_REGULAR = [
|
|
||||||
permissions.CREATE_FEATURE,
|
|
||||||
permissions.UPDATE_FEATURE,
|
|
||||||
permissions.DELETE_FEATURE,
|
|
||||||
];
|
|
||||||
|
|
||||||
interface IRoleCreation {
|
interface IRoleCreation {
|
||||||
name: string;
|
name: string;
|
||||||
description: string;
|
description: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user