Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.1.2-incubating
-
None
-
None
Description
if (isEditable) {
// TODO: this test should be done by the ImmutableFacetFactory installing an immutableFacet on every
// member
final boolean immutable =
ImmutableFacetUtils.isAlwaysImmutable(specification)
(adapter.isPersistent() && ImmutableFacetUtils.isImmutableOncePersisted(specification)); |
---|
boolean allFieldUneditable = true;
final List<ObjectAssociation> flds = specification.getAssociations();
for (int i = 0; i < flds.size(); i++) {
if (flds.get.isVisible(authenticationSession, adapter).isAllowed() && flds.get.isUsable(authenticationSession, adapter).isAllowed())
}
if (!immutable && !allFieldUneditable)
}