18-02-2021 16:03

Получение общей структуры скопов

GET   /bs-core/security/structure/scopes

Получение структуры скопов, обслуживамых системой разграничения доступа

Запрос

У данной функции отсутствует описание параметров запроса

Ответ


                        {
    "status": "ok",
    "timestamp": 1462878699370,
    "data": [
        {
            "scope": "lead-entity",
            "parentScope": null,
            "availablePermissions": [
                "CREATE"
            ],
            "defaultPermissions": [
                "CREATE"
            ]
        },
        {
            "scope": "client-entity",
            "parentScope": null,
            "availablePermissions": [
                "CREATE",
                "DELETE"
            ],
            "defaultPermissions": [
                "CREATE",
                "DELETE"
            ]
        },
        {
            "scope": "model-person",
            "parentScope": null,
            "availablePermissions": [
                "READ",
                "EDIT"
            ],
            "defaultPermissions": [
                "READ",
                "EDIT"
            ]
        },
        {
            "scope": "model-company",
            "parentScope": null,
            "availablePermissions": [
                "READ",
                "EDIT"
            ],
            "defaultPermissions": [
                "READ",
                "EDIT"
            ]
        },
        {
            "scope": "loanapp-entity",
            "parentScope": null,
            "availablePermissions": [
                "CREATE",
                "DELETE"
            ],
            "defaultPermissions": [
                "CREATE",
                "DELETE"
            ]
        },
        {
            "scope": "model-loanapp",
            "parentScope": null,
            "availablePermissions": [
                "READ",
                "EDIT"
            ],
            "defaultPermissions": [
                "READ",
                "EDIT"
            ]
        },
        {
            "scope": "contract-entity",
            "parentScope": null,
            "availablePermissions": [
                "CREATE",
                "DELETE"
            ],
            "defaultPermissions": [
                "CREATE",
                "DELETE"
            ]
        },
        {
            "scope": "model-contract",
            "parentScope": null,
            "availablePermissions": [
                "READ",
                "EDIT"
            ],
            "defaultPermissions": [
                "READ",
                "EDIT"
            ]
        },
        {
            "scope": "dictionary",
            "parentScope": null,
            "availablePermissions": [
                "CREATE",
                "EDIT",
                "DELETE"
            ],
            "defaultPermissions": [
                "CREATE",
                "EDIT",
                "DELETE"
            ]
        },
        {
            "scope": "fund-transaction-entity",
            "parentScope": null,
            "availablePermissions": [
                "CREATE",
                "DELETE"
            ],
            "defaultPermissions": [
                "CREATE",
                "DELETE"
            ]
        },
        {
            "scope": "operation",
            "parentScope": null,
            "availablePermissions": [
                "CREATE"
            ],
            "defaultPermissions": [
                "CREATE"
            ]
        },
        {
            "scope": "process",
            "parentScope": null,
            "availablePermissions": [
                "EXECUTE"
            ],
            "defaultPermissions": [
                "EXECUTE"
            ]
        },
        {
            "scope": "report",
            "parentScope": null,
            "availablePermissions": [
                "GENERATE"
            ],
            "defaultPermissions": [
                "GENERATE"
            ]
        },
        {
            "scope": "security",
            "parentScope": null,
            "availablePermissions": [
                "CREATE",
                "EDIT",
                "DELETE"
            ],
            "defaultPermissions": [

            ]
        },
        {
            "scope": "interface-unit",
            "parentScope": null,
            "availablePermissions": [
                "VIEW"
            ],
            "defaultPermissions": [
                "VIEW"
            ]
        },
        {
            "scope": "criminal-operation",
            "parentScope": null,
            "availablePermissions": [
                "LINE-VIOLATION-RIGHT",
                "DELETE-ACTORS"
            ],
            "defaultPermissions": [
                "DELETE-ACTORS",
                "LINE-VIOLATION-RIGHT"
            ]
        },
        {
            "scope": "constant",
            "parentScope": null,
            "availablePermissions": [
                "READ",
                "EDIT"
            ],
            "defaultPermissions": [
                "READ",
                "EDIT"
            ]
        }
    ]
}
                    
У данной функции отсутствует описание параметров ответа