If all actions in a service are hidden, then the service should be hidden also.
-------------------------------------------------------------------------------

                 Key: ISIS-155
                 URL: https://issues.apache.org/jira/browse/ISIS-155
             Project: Isis
          Issue Type: New Feature
          Components: Core: MetaModel, Viewer
    Affects Versions: 0.1.2-incubating
            Reporter: Dan Haywood


This relates to a requirement of Kevin's to hide a service icon (in the HTML 
viewer) if a user of a particular role had no actions visible.

I kind-a want that this is a metamodel change, but that would introduce a new 
concept of hidden objects, which we don't have.  And every viewer would need to 
change in order to check if an object was hidden.

So probably it's easier to simply add a check in each one of the viewers such 
that, if it notices that the service has actions that are all (declaratively) 
hidden, then it shouldn't render that service.

If we do decide to go this way, then it probably makes sense for this issue to 
be an umbrella, and to have subtasks for each of the viewers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to