271 lines
8.1 KiB
JSON
271 lines
8.1 KiB
JSON
{
|
|
"module": "account",
|
|
"name": "Users",
|
|
"icon" : "face",
|
|
"validations" : true,
|
|
"dependencies": [],
|
|
"menus": {
|
|
"main": [
|
|
{"state": "account.index", "icon": "face"},
|
|
{"state": "account.role", "icon": "group"},
|
|
{"state": "account.alias", "icon": "email"},
|
|
{"state": "account.accounts", "icon": "accessibility"},
|
|
{"state": "account.ldap", "icon": "account_tree"},
|
|
{"state": "account.samba", "icon": "preview"},
|
|
{"state": "account.acl", "icon": "check"},
|
|
{"state": "account.connections", "icon": "share"}
|
|
],
|
|
"card": [
|
|
{"state": "account.card.basicData", "icon": "settings"},
|
|
{"state": "account.card.roles", "icon": "group"},
|
|
{"state": "account.card.mailForwarding", "icon": "forward"},
|
|
{"state": "account.card.aliases", "icon": "email"},
|
|
{"state": "account.card.privileges", "icon": "badge"},
|
|
{"state": "account.card.log", "icon": "history"}
|
|
],
|
|
"role": [
|
|
{"state": "account.role.card.basicData", "icon": "settings"},
|
|
{"state": "account.role.card.subroles", "icon": "groups"},
|
|
{"state": "account.role.card.inherited", "icon": "account_tree"},
|
|
{"state": "account.role.card.log", "icon": "history"}
|
|
],
|
|
"alias": [
|
|
{"state": "account.alias.card.basicData", "icon": "settings"},
|
|
{"state": "account.alias.card.users", "icon": "groups"}
|
|
]
|
|
},
|
|
"keybindings": [
|
|
{"key": "u", "state": "account.index"}
|
|
],
|
|
"routes": [
|
|
{
|
|
"url": "/account",
|
|
"state": "account",
|
|
"component": "vn-user",
|
|
"description": "Users",
|
|
"abstract": true
|
|
},
|
|
{
|
|
"url": "/index?q",
|
|
"state": "account.index",
|
|
"component": "vn-user-index",
|
|
"description": "Users"
|
|
},
|
|
{
|
|
"url": "/create",
|
|
"state": "account.create",
|
|
"component": "vn-user-create",
|
|
"description": "New user"
|
|
},
|
|
{
|
|
"url": "/:id",
|
|
"state": "account.card",
|
|
"component": "vn-user-card",
|
|
"abstract": true,
|
|
"description": "Detail"
|
|
},
|
|
{
|
|
"url": "/summary",
|
|
"state": "account.card.summary",
|
|
"component": "vn-user-summary",
|
|
"description": "Summary",
|
|
"params": {
|
|
"user": "$ctrl.user"
|
|
}
|
|
},
|
|
{
|
|
"url": "/basic-data?emailConfirmed",
|
|
"state": "account.card.basicData",
|
|
"component": "vn-user-basic-data",
|
|
"description": "Basic data"
|
|
},
|
|
{
|
|
"url" : "/log",
|
|
"state": "account.card.log",
|
|
"component": "vn-user-log",
|
|
"description": "Log"
|
|
},
|
|
{
|
|
"url" : "/log",
|
|
"state": "account.role.card.log",
|
|
"component": "vn-role-log",
|
|
"description": "Log"
|
|
},
|
|
{
|
|
"url": "/roles",
|
|
"state": "account.card.roles",
|
|
"component": "vn-user-roles",
|
|
"description": "Inherited roles"
|
|
},
|
|
{
|
|
"url": "/mail-forwarding",
|
|
"state": "account.card.mailForwarding",
|
|
"component": "vn-user-mail-forwarding",
|
|
"description": "Mail forwarding"
|
|
},
|
|
{
|
|
"url": "/aliases",
|
|
"state": "account.card.aliases",
|
|
"component": "vn-user-aliases",
|
|
"description": "Mail aliases"
|
|
},
|
|
{
|
|
"url": "/privileges",
|
|
"state": "account.card.privileges",
|
|
"component": "vn-user-privileges",
|
|
"description": "Privileges",
|
|
"params": {
|
|
"user": "$ctrl.user"
|
|
}
|
|
},
|
|
{
|
|
"url": "/role?q",
|
|
"state": "account.role",
|
|
"component": "vn-role",
|
|
"description": "Roles",
|
|
"acl": ["it"]
|
|
},
|
|
{
|
|
"url": "/create",
|
|
"state": "account.role.create",
|
|
"component": "vn-role-create",
|
|
"description": "New role",
|
|
"acl": ["it"]
|
|
},
|
|
{
|
|
"url": "/:id",
|
|
"state": "account.role.card",
|
|
"component": "vn-role-card",
|
|
"abstract": true,
|
|
"description": "Detail"
|
|
},
|
|
{
|
|
"url": "/summary",
|
|
"state": "account.role.card.summary",
|
|
"component": "vn-role-summary",
|
|
"description": "Summary",
|
|
"params": {
|
|
"role": "$ctrl.role"
|
|
},
|
|
"acl": ["it"]
|
|
},
|
|
{
|
|
"url": "/basic-data",
|
|
"state": "account.role.card.basicData",
|
|
"component": "vn-role-basic-data",
|
|
"description": "Basic data",
|
|
"params": {
|
|
"role": "$ctrl.role"
|
|
},
|
|
"acl": ["it"]
|
|
},
|
|
{
|
|
"url": "/subroles",
|
|
"state": "account.role.card.subroles",
|
|
"component": "vn-role-subroles",
|
|
"description": "Subroles",
|
|
"acl": ["it"]
|
|
},
|
|
{
|
|
"url": "/inherited",
|
|
"state": "account.role.card.inherited",
|
|
"component": "vn-role-inherited",
|
|
"description": "Inherited roles",
|
|
"acl": ["it"]
|
|
},
|
|
{
|
|
"url": "/alias?q",
|
|
"state": "account.alias",
|
|
"component": "vn-alias",
|
|
"description": "Mail aliases"
|
|
},
|
|
{
|
|
"url": "/create",
|
|
"state": "account.alias.create",
|
|
"component": "vn-alias-create",
|
|
"description": "New alias"
|
|
},
|
|
{
|
|
"url": "/:id",
|
|
"state": "account.alias.card",
|
|
"component": "vn-alias-card",
|
|
"abstract": true,
|
|
"description": "Detail"
|
|
},
|
|
{
|
|
"url": "/summary",
|
|
"state": "account.alias.card.summary",
|
|
"component": "vn-alias-summary",
|
|
"description": "Summary",
|
|
"params": {
|
|
"alias": "$ctrl.alias"
|
|
}
|
|
},
|
|
{
|
|
"url": "/basic-data",
|
|
"state": "account.alias.card.basicData",
|
|
"component": "vn-alias-basic-data",
|
|
"description": "Basic data",
|
|
"params": {
|
|
"alias": "$ctrl.alias"
|
|
}
|
|
},
|
|
{
|
|
"url": "/users",
|
|
"state": "account.alias.card.users",
|
|
"component": "vn-alias-users",
|
|
"description": "Users",
|
|
"acl": ["it"]
|
|
},
|
|
{
|
|
"url": "/accounts",
|
|
"state": "account.accounts",
|
|
"component": "vn-account-accounts",
|
|
"description": "Accounts",
|
|
"acl": ["sysadmin"]
|
|
},
|
|
{
|
|
"url": "/ldap",
|
|
"state": "account.ldap",
|
|
"component": "vn-account-ldap",
|
|
"description": "LDAP",
|
|
"acl": ["sysadmin"]
|
|
},
|
|
{
|
|
"url": "/samba",
|
|
"state": "account.samba",
|
|
"component": "vn-account-samba",
|
|
"description": "Samba",
|
|
"acl": ["sysadmin"]
|
|
},
|
|
{
|
|
"url": "/acl?q",
|
|
"state": "account.acl",
|
|
"component": "vn-acl-component",
|
|
"description": "ACLs",
|
|
"acl": ["developer"]
|
|
},
|
|
{
|
|
"url": "/create",
|
|
"state": "account.acl.create",
|
|
"component": "vn-acl-create",
|
|
"description": "New ACL",
|
|
"acl": ["developer"]
|
|
},
|
|
{
|
|
"url": "/:id/edit",
|
|
"state": "account.acl.edit",
|
|
"component": "vn-acl-create",
|
|
"description": "Edit ACL",
|
|
"acl": ["developer"]
|
|
},
|
|
{
|
|
"url": "/connections",
|
|
"state": "account.connections",
|
|
"component": "vn-connections",
|
|
"description": "Connections",
|
|
"acl": ["developer"]
|
|
}
|
|
]
|
|
}
|