public interface HasAtPath
Previously the atPath would have corresponded to the unique path of some particular
org.apache.isis.extensions.secman.jdo.dom.tenancy.ApplicationTenancy instance. However, this has now been
generalized; the atPath is simply a string whose interpretation is application-specific (in particular by
the ApplicationTenancyEvaluator SPI).
For applications that still wish to follow the original more specific design (that the atPath
corresponds to a single ApplicationTenancy), then the path can be interpreted according to the following
table:
| object's tenancy | user's tenancy | access |
|---|---|---|
| null | null | editable |
| null | non-null | editable |
| / | / | editable |
| / | /it | visible |
| / | /it/car | visible |
| / | /it/igl | visible |
| / | /fr | visible |
| / | null | not visible |
| /it | / | editable |
| /it | /it | editable |
| /it | /it/car | visible |
| /it | /it/igl | visible |
| /it | /fr | not visible |
| /it | null | not visible |
| /it/car | / | editable |
| /it/car | /it | editable |
| /it/car | /it/car | editable |
| /it/car | /it/igl | not visible |
| /it/car | /fr | not visible |
| /it/car | null | not visible |
any object that is not tenanted (that is, its class does not implement the WithApplicationTenancy interface is accessible by any user (usual permission rules apply).
| Modifier and Type | Method and Description |
|---|---|
String |
getAtPath() |
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.