Allow to set user_type 'limited'
Change-Id: Ic3942a2150b9dfe57c106eb595b49b774fe8a30c
This commit is contained in:
parent
c604b47adc
commit
931fafc21d
@ -155,6 +155,7 @@ export const UserList = props => {
|
|||||||
choices={[
|
choices={[
|
||||||
{ id: null, name: "resources.users.type.default" },
|
{ id: null, name: "resources.users.type.default" },
|
||||||
{ id: "free", name: "resources.users.type.free" },
|
{ id: "free", name: "resources.users.type.free" },
|
||||||
|
{ id: "limited", name: "resources.users.type.limited" },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<BooleanField source="deactivated" sortable={false} />
|
<BooleanField source="deactivated" sortable={false} />
|
||||||
@ -274,6 +275,7 @@ export const UserCreate = props => (
|
|||||||
choices={[
|
choices={[
|
||||||
{ id: null, name: "resources.users.type.default" },
|
{ id: null, name: "resources.users.type.default" },
|
||||||
{ id: "free", name: "resources.users.type.free" },
|
{ id: "free", name: "resources.users.type.free" },
|
||||||
|
{ id: "limited", name: "resources.users.type.limited" },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<ArrayInput source="threepids">
|
<ArrayInput source="threepids">
|
||||||
@ -327,6 +329,7 @@ export const UserEdit = props => {
|
|||||||
choices={[
|
choices={[
|
||||||
{ id: null, name: "resources.users.type.default" },
|
{ id: null, name: "resources.users.type.default" },
|
||||||
{ id: "free", name: "resources.users.type.free" },
|
{ id: "free", name: "resources.users.type.free" },
|
||||||
|
{ id: "limited", name: "resources.users.type.limited" },
|
||||||
]}
|
]}
|
||||||
emptyText="resources.users.type.default"
|
emptyText="resources.users.type.default"
|
||||||
/>
|
/>
|
||||||
|
@ -74,6 +74,7 @@ export default {
|
|||||||
type: {
|
type: {
|
||||||
default: "Standard",
|
default: "Standard",
|
||||||
free: "Basic",
|
free: "Basic",
|
||||||
|
limited: "Eingeschränkt",
|
||||||
},
|
},
|
||||||
helper: {
|
helper: {
|
||||||
deactivate: "Deaktivierte Nutzer können nicht wieder aktiviert werden.",
|
deactivate: "Deaktivierte Nutzer können nicht wieder aktiviert werden.",
|
||||||
|
@ -73,6 +73,7 @@ export default {
|
|||||||
type: {
|
type: {
|
||||||
default: "Standard",
|
default: "Standard",
|
||||||
free: "Basic",
|
free: "Basic",
|
||||||
|
limited: "Limited",
|
||||||
},
|
},
|
||||||
helper: {
|
helper: {
|
||||||
deactivate: "Deactivated users cannot be reactivated",
|
deactivate: "Deactivated users cannot be reactivated",
|
||||||
|
Loading…
Reference in New Issue
Block a user