public class CurrentDomainAwareAllowableActionsBuilder extends Object implements com.foreach.across.modules.entity.actions.EntityConfigurationAllowableActionsBuilder
EntityConfigurationAllowableActionsBuilder and checks that domain bound objects
can only be managed if a specific domain is selected. Domain bound entities can only
be managed if a specific domain is selected, unless they also allow no-domain.
A specific domain bound object can only be managed on the actual domain it belongs to.
You can overrule the default behaviour by setting a boolean WebCmsEntityAttributes.ALLOW_PER_DOMAIN on the
EntityConfiguration. If the value is true, a non-domain-bound entity will still be allowed on specific domains.
If the value is false, a domain-bound entity will not be allowed on specific domains.| Constructor and Description |
|---|
CurrentDomainAwareAllowableActionsBuilder() |
| Modifier and Type | Method and Description |
|---|---|
com.foreach.across.modules.spring.security.actions.AllowableActions |
getAllowableActions(com.foreach.across.modules.entity.registry.EntityConfiguration<?> entityConfiguration) |
<V> com.foreach.across.modules.spring.security.actions.AllowableActions |
getAllowableActions(com.foreach.across.modules.entity.registry.EntityConfiguration<V> entityConfiguration,
V entity) |
public CurrentDomainAwareAllowableActionsBuilder()
public com.foreach.across.modules.spring.security.actions.AllowableActions getAllowableActions(com.foreach.across.modules.entity.registry.EntityConfiguration<?> entityConfiguration)
getAllowableActions in interface com.foreach.across.modules.entity.actions.EntityConfigurationAllowableActionsBuilderpublic <V> com.foreach.across.modules.spring.security.actions.AllowableActions getAllowableActions(com.foreach.across.modules.entity.registry.EntityConfiguration<V> entityConfiguration,
V entity)
getAllowableActions in interface com.foreach.across.modules.entity.actions.EntityConfigurationAllowableActionsBuilderCopyright © 2020. All rights reserved.