Authoring Step 2: Define Top-Level Security Parameters
Applies to: SharePoint Server 2010
Each object in the BDC hierarchy of metadata objects (Application, Entity, Method, MethodInstance, Parameter, TypeDescriptor, and so on) has an access control list (ACL) that specifies which principals have which rights on the object. Of the metadata objects, only LobSystem, Entity, Method, and MethodInstance have their own individually controllable ACLs. These objects are referred to as Individually Securable metadata objects. Other metadata objects inherit the ACL from their immediate parent and are referred to as access-controlled metadata objects.
Table 1 shows the rights that the administrator or someone with the Manage Permissions right can set on a BDC application.
Table 1. Rights that someone with Manage Permissions can set on a BDC application
Right |
Applies To |
Description |
---|---|---|
Edit |
Access-controlled metadata objects |
|
Manage Permissions |
Individually securable metadata objects |
|
Execute (View) |
MethodInstance |
Execute the MethodInstance object via various run-time API calls |
Selectable in Clients |
Application and Entity |
|
The BDC enables you to specify access permissions for each individually securable metadata object, such as LobSystem, Entity, Method, and MethodInstance, directly in the XML. In this step, you specify the ACL at the LobSystem level in the XML.
Note
You can also configure top-level security parameters in the BDC administration pages.
Prerequisites
Authoring Step 1: Define the External System
To specify the ACL at the Model level
Add the following XML to the end of the Model element (before the </Model> end tag).
Note
You must update the Principal attribute values with the correct domain and user or group names.
<AccessControlList>
<AccessControlEntry Principal="[your domain]\[you]">
<Right BdcRight="Execute"/>
<Right BdcRight="Edit"/>
<Right BdcRight="SetPermissions"/>
<Right BdcRight="SelectableInClients"/>
</AccessControlEntry>
<AccessControlEntry Principal="[your domain]\[your external data users]">
<Right BdcRight="Execute"/>
<Right BdcRight="SelectableInClients"/>
</AccessControlEntry>
</AccessControlList>