...
On this page all the generic security filters are listed, In general, they can be applied to all possible DB entities of the CoreOne Suite.
Table of Contents |
---|
Filter
General
GenericFullAccessFilter
This filter will give you unrestricted access to the entity for the chosen DB operation.
...
Code Block |
---|
new GenericNoAccessFilter<ICoreIdentity>() |
SecurityFilterCollection
When you want to combine one or more filters together you can use the security filter collection.
For example, you want to build a security filter that allows you to read core identities of type Standard but only when the name starts with ‘Ma’, then you have to combine GenericPropertyChainFilter with a GenericPropertyChainStringFilter in a and relation. This you can do with a security filter collection.
Code Block |
---|
/// <param name="dtoType">The interface type of the db entity this security filter should be applied to</param>
/// <param name="collectionMode">If the filter should be combined with or or and </param>
/// <param name="filters">The security filter you want to combine</param>
static SecurityFilterCollection Create(Type dtoType, FilterCollectionMode collectionMode, ISecurityFilter[] filters) |
Sub Filters
The sub-filters will give you access to an entity based on the configured security of a related entity.
...