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={[
|
||||
{ id: null, name: "resources.users.type.default" },
|
||||
{ id: "free", name: "resources.users.type.free" },
|
||||
{ id: "limited", name: "resources.users.type.limited" },
|
||||
]}
|
||||
/>
|
||||
<BooleanField source="deactivated" sortable={false} />
|
||||
@ -274,6 +275,7 @@ export const UserCreate = props => (
|
||||
choices={[
|
||||
{ id: null, name: "resources.users.type.default" },
|
||||
{ id: "free", name: "resources.users.type.free" },
|
||||
{ id: "limited", name: "resources.users.type.limited" },
|
||||
]}
|
||||
/>
|
||||
<ArrayInput source="threepids">
|
||||
@ -327,6 +329,7 @@ export const UserEdit = props => {
|
||||
choices={[
|
||||
{ id: null, name: "resources.users.type.default" },
|
||||
{ id: "free", name: "resources.users.type.free" },
|
||||
{ id: "limited", name: "resources.users.type.limited" },
|
||||
]}
|
||||
emptyText="resources.users.type.default"
|
||||
/>
|
||||
|
@ -74,6 +74,7 @@ export default {
|
||||
type: {
|
||||
default: "Standard",
|
||||
free: "Basic",
|
||||
limited: "Eingeschränkt",
|
||||
},
|
||||
helper: {
|
||||
deactivate: "Deaktivierte Nutzer können nicht wieder aktiviert werden.",
|
||||
|
@ -73,6 +73,7 @@ export default {
|
||||
type: {
|
||||
default: "Standard",
|
||||
free: "Basic",
|
||||
limited: "Limited",
|
||||
},
|
||||
helper: {
|
||||
deactivate: "Deactivated users cannot be reactivated",
|
||||
|
Loading…
Reference in New Issue
Block a user