24 references to ServiceOperationRights
System.Data.Services (24)
System\Data\Services\DataService.cs (1)
720
(0 != (dataService.Configuration.GetServiceOperationRights(description.LastSegmentInfo.Operation.ServiceOperation) &
ServiceOperationRights
.OverrideEntitySetRights)))
System\Data\Services\DataServiceConfiguration.cs (13)
64
private
ServiceOperationRights
rightsForUnspecifiedServiceOperation;
81
private Dictionary<string,
ServiceOperationRights
> serviceRights;
138
this.serviceRights = new Dictionary<string,
ServiceOperationRights
>(EqualityComparer<string>.Default);
141
this.rightsForUnspecifiedServiceOperation =
ServiceOperationRights
.None;
333
public void SetServiceOperationAccessRule(string name,
ServiceOperationRights
rights)
595
internal static void CheckServiceRights(ServiceOperationWrapper operation,
ServiceOperationRights
requiredRights)
598
Debug.Assert(requiredRights !=
ServiceOperationRights
.None, "requiredRights != EntitySetRights.None");
600
ServiceOperationRights
effectiveRights = operation.Rights;
617
ServiceOperationRights
requiredRights = singleResult ?
ServiceOperationRights
.ReadSingle :
ServiceOperationRights
.ReadMultiple;
711
internal
ServiceOperationRights
GetServiceOperationRights(ServiceOperation serviceOperation)
716
ServiceOperationRights
result;
System\Data\Services\IDataServiceConfiguration.cs (1)
97
void SetServiceOperationAccessRule(string name,
ServiceOperationRights
rights);
System\Data\Services\Providers\ServiceOperationWrapper.cs (6)
32
private
ServiceOperationRights
rights;
129
return (this.rights & ~
ServiceOperationRights
.OverrideEntitySetRights) !=
ServiceOperationRights
.None;
134
public
ServiceOperationRights
Rights
176
if ((this.rights & ~
ServiceOperationRights
.OverrideEntitySetRights) !=
ServiceOperationRights
.None)
System\Data\Services\WebUtil.cs (3)
244
internal static void CheckServiceOperationRights(
ServiceOperationRights
rights, string parameterName)
246
if (rights < 0 || rights > (
ServiceOperationRights
.All |
ServiceOperationRights
.OverrideEntitySetRights))