diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-12-05 15:12:37 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-12-07 20:21:03 +0100 |
commit | b02c3aade4fff5176509f422a14d7167bb4ee01b (patch) | |
tree | 5cfd9127a6c1b99bb37e870ec22bbc0a719a6447 /server/sonar-web/src/main/js/apps/permission-templates | |
parent | 6794de31803c2fcbb420f46c21030c94ae169ab4 (diff) | |
download | sonarqube-b02c3aade4fff5176509f422a14d7167bb4ee01b.tar.gz sonarqube-b02c3aade4fff5176509f422a14d7167bb4ee01b.zip |
drop unused code
Diffstat (limited to 'server/sonar-web/src/main/js/apps/permission-templates')
-rw-r--r-- | server/sonar-web/src/main/js/apps/permission-templates/propTypes.js | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/server/sonar-web/src/main/js/apps/permission-templates/propTypes.js b/server/sonar-web/src/main/js/apps/permission-templates/propTypes.js deleted file mode 100644 index a1e4ee66db3..00000000000 --- a/server/sonar-web/src/main/js/apps/permission-templates/propTypes.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2018 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -import { shape, arrayOf, string, number, func } from 'prop-types'; - -export const PermissionType = shape({ - key: string.isRequired, - name: string.isRequired, - description: string.isRequired, - usersCount: number.isRequired, - groupsCount: number.isRequired -}); - -export const PermissionTemplateType = shape({ - id: string.isRequired, - name: string.isRequired, - description: string, - permissions: arrayOf(PermissionType).isRequired, - defaultFor: arrayOf(string).isRequired -}); - -export const CallbackType = func.isRequired; |