mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
create Custom Repo Role
This commit is contained in:
@@ -12,6 +12,7 @@ import { getLinks } from "../../modules/indexResource";
|
||||
import GlobalConfig from "./GlobalConfig";
|
||||
import RepositoryRoles from "../roles/containers/RepositoryRoles";
|
||||
import SingleRepositoryRole from "../roles/containers/SingleRepositoryRole";
|
||||
import CreateRepositoryRole from "../roles/containers/CreateRepositoryRole";
|
||||
|
||||
type Props = {
|
||||
links: Links,
|
||||
@@ -65,7 +66,7 @@ class Config extends React.Component<Props> {
|
||||
/>
|
||||
<Route
|
||||
path={`${url}/roles/create`}
|
||||
render={() => <CreatePermissionRole />}
|
||||
render={() => <CreateRepositoryRole disabled={false} />}
|
||||
/>
|
||||
<ExtensionPoint
|
||||
name="config.route"
|
||||
|
||||
Reference in New Issue
Block a user