[jira] [Created] (OFBIZ-11019) Removing ‘hasPermission(String, HttpSession)’ from ‘Security’

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-11019) Removing ‘hasPermission(String, HttpSession)’ from ‘Security’

Nicolas Malin (Jira)
Mathieu Lirzin created OFBIZ-11019:
--------------------------------------

             Summary: Removing ‘hasPermission(String, HttpSession)’ from ‘Security’
                 Key: OFBIZ-11019
                 URL: https://issues.apache.org/jira/browse/OFBIZ-11019
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Mathieu Lirzin
            Assignee: Mathieu Lirzin


The ‘hasPermission(String, HttpSession)’ method declaration from the
‘Security’ interface is breaking the minimality principle of interfaces
because it is easily expressible in term of ‘hasPermission(String,
GenericEntity)’. As a consequence a static helper method should be implemented to to achieve same convenience without polluting the ‘Security’ interface.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)