### Question:
JcrFeedAllowedActions extends JcrAllowedActions { @Override public boolean enable(Principal principal, Set<Action> actions) { boolean changed = super.enable(principal, actions); updateEntityAccess(principal, getEnabledActions(principal)); return changed; } JcrFeedAllowedActions(Node allowedActionsNode);  JcrFeedAllowedActions(Node allowedActionsNode, FeedOpsAccessControlProvider opsAccessProvider); @Override boolean enable(Principal principal, Set<Action> actions); @Override boolean enableOnly(Principal principal, Set<Action> actions); @Override boolean enableOnly(Principal principal, AllowedActions actions); @Override boolean disable(Principal principal, Set<Action> actions); @Override void setupAccessControl(Principal owner); @Override void removeAccessControl(Principal owner);  }### Answer:
@Test public void testSummaryOnlyRead() { metadata.commit(() -> { Feed feed = this.feedProvider.findById(idB); feed.getAllowedActions().enable(TEST_USER1, FeedAccessControl.ACCESS_FEED); }, TEST_USER2); metadata.read(() -> { Feed feed = this.feedProvider.findById(idB); assertThat(feed.getName()).isNotNull().isEqualTo("FeedB"); assertThat(feed.getCategory()).isNotNull().hasFieldOrPropertyWithValue("systemName", this.categorySystemName); assertThat(feed.getJson()).isNull(); assertThat(feed.getState()).isNull(); }, TEST_USER1); }