|
![]() |
#1 |
Участник
|
Вот это да! Хоть и похоже на некий костыль, но все равно очень познавательно - хотя бы тот факт, что RLS может быть включен на уровне "the whole current X++ stream", а не только на уровне отдельных табличных буферов или Query.
|
|
![]() |
#2 |
Участник
|
Ещё есть такой skipAosValidation, которым можно отключать AOSAuthorization
![]() http://msdn.microsoft.com/en-us/library/bb278259.aspx Цитата:
Вероятно можно выполнить какой-нибудь runbuf runas с предопределёнными настройками RLS ![]() А по поводу AX2012 я так и не понял. В следующей версии были неким образом исправлены описанные "quirk" или просто убрали сам метод как таковой? |
|
![]() |
#3 |
Участник
|
Цитата:
По-моему, нет, но тут интересно еще вот что: хотя в разных контекстах значения по умолчанию свойств одних и тех же табличных буферов могут "трактоваться" по-разному, явное задание этих свойств (recordLevelSecurity в данном случае) всегда однозначно влияет на поведение ядра независимо от контекста. Выходит, значения, по крайней мере, ряда булевских свойств объектов ядра хранятся в виде 3-х значений, подобно UnknownNoYes. Цитата:
Цитата:
In earlier releases, the record-level security (RLS) feature is used to help secure the data. The filters used for record-level security are based on fields in the same table that is being secured. In addition, by default, record-level security is enforced on the client.
In Microsoft Dynamics AX 2012, the Extensible Data Security Framework can be used to help secure the data. The new framework lets administrators create data security policies based on data that may be contained in a different set of tables. Data security policies are enforced on the server side, regardless of the type of client that is used to access the data. In addition, policies can consider security privileges. For example, the administrator can grant view access to one subset of sales orders and edit access to a different subset of sales orders. CAUTION: The record-level security feature is still supported in Microsoft Dynamics AX 2012 and if previously implemented, they will continue to be used. However, it is recommended to setup new data filter utilizing the extensible data security framework. |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|