2020-03-09 08:00:03 +00:00
|
|
|
{
|
|
|
|
"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"},
|
2020-11-12 22:20:25 +00:00
|
|
|
{"state": "account.accounts", "icon": "accessibility"},
|
2020-10-31 21:56:02 +00:00
|
|
|
{"state": "account.ldap", "icon": "account_tree"},
|
2020-11-24 07:22:54 +00:00
|
|
|
{"state": "account.samba", "icon": "preview"},
|
2020-03-09 08:00:03 +00:00
|
|
|
{"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"}
|
|
|
|
],
|
|
|
|
"role": [
|
|
|
|
{"state": "account.role.card.basicData", "icon": "settings"},
|
|
|
|
{"state": "account.role.card.subroles", "icon": "groups"},
|
|
|
|
{"state": "account.role.card.inherited", "icon": "account_tree"}
|
|
|
|
],
|
|
|
|
"alias": [
|
|
|
|
{"state": "account.alias.card.basicData", "icon": "settings"},
|
|
|
|
{"state": "account.alias.card.users", "icon": "groups"}
|
|
|
|
]
|
|
|
|
},
|
2021-01-29 08:46:57 +00:00
|
|
|
"keybindings": [
|
|
|
|
{"key": "u", "state": "account.index"}
|
|
|
|
],
|
2020-03-09 08:00:03 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/account",
|
|
|
|
"state": "account",
|
|
|
|
"component": "vn-user",
|
|
|
|
"description": "Users",
|
|
|
|
"abstract": true
|
|
|
|
}, {
|
|
|
|
"url": "/index?q",
|
|
|
|
"state": "account.index",
|
|
|
|
"component": "vn-user-index",
|
2020-10-06 07:50:40 +00:00
|
|
|
"description": "Users",
|
|
|
|
"acl": ["hr"]
|
2020-03-09 08:00:03 +00:00
|
|
|
}, {
|
|
|
|
"url": "/create",
|
|
|
|
"state": "account.create",
|
|
|
|
"component": "vn-user-create",
|
2021-11-24 14:01:44 +00:00
|
|
|
"description": "New user",
|
|
|
|
"acl": ["it"]
|
2020-03-09 08:00:03 +00:00
|
|
|
}, {
|
|
|
|
"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",
|
|
|
|
"state": "account.card.basicData",
|
|
|
|
"component": "vn-user-basic-data",
|
2020-11-12 22:20:25 +00:00
|
|
|
"description": "Basic data"
|
2020-03-09 08:00:03 +00:00
|
|
|
}, {
|
|
|
|
"url": "/roles",
|
|
|
|
"state": "account.card.roles",
|
|
|
|
"component": "vn-user-roles",
|
2021-11-24 14:01:44 +00:00
|
|
|
"description": "Inherited roles",
|
|
|
|
"acl": ["it"]
|
2020-03-09 08:00:03 +00:00
|
|
|
}, {
|
|
|
|
"url": "/mail-forwarding",
|
|
|
|
"state": "account.card.mailForwarding",
|
|
|
|
"component": "vn-user-mail-forwarding",
|
2021-11-24 14:01:44 +00:00
|
|
|
"description": "Mail forwarding",
|
|
|
|
"acl": ["marketing", "hr"]
|
2020-03-09 08:00:03 +00:00
|
|
|
}, {
|
|
|
|
"url": "/aliases",
|
|
|
|
"state": "account.card.aliases",
|
|
|
|
"component": "vn-user-aliases",
|
2021-11-24 14:01:44 +00:00
|
|
|
"description": "Mail aliases",
|
|
|
|
"acl": ["marketing"]
|
2020-03-09 08:00:03 +00:00
|
|
|
}, {
|
|
|
|
"url": "/role?q",
|
|
|
|
"state": "account.role",
|
|
|
|
"component": "vn-role",
|
|
|
|
"description": "Roles"
|
|
|
|
}, {
|
|
|
|
"url": "/create",
|
|
|
|
"state": "account.role.create",
|
|
|
|
"component": "vn-role-create",
|
|
|
|
"description": "New role"
|
|
|
|
}, {
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"url": "/basic-data",
|
|
|
|
"state": "account.role.card.basicData",
|
|
|
|
"component": "vn-role-basic-data",
|
|
|
|
"description": "Basic data",
|
|
|
|
"acl": ["developer"],
|
|
|
|
"params": {
|
|
|
|
"role": "$ctrl.role"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"url": "/subroles",
|
|
|
|
"state": "account.role.card.subroles",
|
|
|
|
"component": "vn-role-subroles",
|
|
|
|
"acl": ["developer"],
|
|
|
|
"description": "Subroles"
|
|
|
|
}, {
|
|
|
|
"url": "/inherited",
|
|
|
|
"state": "account.role.card.inherited",
|
|
|
|
"component": "vn-role-inherited",
|
|
|
|
"description": "Inherited roles"
|
|
|
|
}, {
|
|
|
|
"url": "/alias?q",
|
|
|
|
"state": "account.alias",
|
|
|
|
"component": "vn-alias",
|
|
|
|
"description": "Mail aliases",
|
|
|
|
"acl": ["developer"]
|
|
|
|
}, {
|
|
|
|
"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",
|
2021-11-24 14:01:44 +00:00
|
|
|
"description": "Users",
|
|
|
|
"acl": ["it"]
|
2020-10-31 21:56:02 +00:00
|
|
|
}, {
|
2020-11-12 22:20:25 +00:00
|
|
|
"url": "/accounts",
|
|
|
|
"state": "account.accounts",
|
|
|
|
"component": "vn-account-accounts",
|
|
|
|
"description": "Accounts",
|
2021-11-24 14:01:44 +00:00
|
|
|
"acl": ["it"]
|
2020-10-31 21:56:02 +00:00
|
|
|
}, {
|
|
|
|
"url": "/ldap",
|
|
|
|
"state": "account.ldap",
|
|
|
|
"component": "vn-account-ldap",
|
|
|
|
"description": "LDAP",
|
2021-11-24 14:01:44 +00:00
|
|
|
"acl": ["sysadmin"]
|
2020-10-31 21:56:02 +00:00
|
|
|
}, {
|
|
|
|
"url": "/samba",
|
|
|
|
"state": "account.samba",
|
|
|
|
"component": "vn-account-samba",
|
|
|
|
"description": "Samba",
|
2021-11-24 14:01:44 +00:00
|
|
|
"acl": ["sysadmin"]
|
2020-03-09 08:00:03 +00:00
|
|
|
}, {
|
|
|
|
"url": "/acl?q",
|
|
|
|
"state": "account.acl",
|
|
|
|
"component": "vn-acl-component",
|
|
|
|
"description": "ACLs",
|
|
|
|
"acl": ["developer"]
|
|
|
|
}, {
|
|
|
|
"url": "/create",
|
|
|
|
"state": "account.acl.create",
|
|
|
|
"component": "vn-acl-create",
|
2021-11-24 14:01:44 +00:00
|
|
|
"description": "New ACL",
|
|
|
|
"acl": ["developer"]
|
2020-03-09 08:00:03 +00:00
|
|
|
}, {
|
|
|
|
"url": "/:id/edit",
|
|
|
|
"state": "account.acl.edit",
|
|
|
|
"component": "vn-acl-create",
|
2021-11-24 14:01:44 +00:00
|
|
|
"description": "Edit ACL",
|
|
|
|
"acl": ["developer"]
|
2020-03-09 08:00:03 +00:00
|
|
|
}, {
|
|
|
|
"url": "/connections",
|
|
|
|
"state": "account.connections",
|
|
|
|
"component": "vn-connections",
|
2021-11-24 14:01:44 +00:00
|
|
|
"description": "Connections",
|
|
|
|
"acl": ["developer"]
|
2020-03-09 08:00:03 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|