@Component(value="cuba_ReportSecurityManager")
public class ReportSecurityManager
extends java.lang.Object
Constructor and Description |
---|
ReportSecurityManager() |
Modifier and Type | Method and Description |
---|---|
void |
applyPoliciesByEntityParameters(com.haulmont.cuba.core.global.LoadContext lc,
com.haulmont.chile.core.model.MetaClass inputValueMetaClass)
Apply constraints for query to select reports which have input parameter with class matching inputValueMetaClass
|
void |
applySecurityPolicies(com.haulmont.cuba.core.global.LoadContext lc,
java.lang.String screen,
com.haulmont.cuba.security.entity.User user)
Apply security constraints for query to select reports available by roles and screen restrictions
|
public void applySecurityPolicies(com.haulmont.cuba.core.global.LoadContext lc, @Nullable java.lang.String screen, @Nullable com.haulmont.cuba.security.entity.User user)
public void applyPoliciesByEntityParameters(com.haulmont.cuba.core.global.LoadContext lc, @Nullable com.haulmont.chile.core.model.MetaClass inputValueMetaClass)