You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Dennis Balkir (JIRA)" <ji...@apache.org> on 2018/02/12 16:04:00 UTC
[jira] [Commented] (OFBIZ-6280) SecurityFactory implements methods
that have been deprecated
[ https://issues.apache.org/jira/browse/OFBIZ-6280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16360953#comment-16360953 ]
Dennis Balkir commented on OFBIZ-6280:
--------------------------------------
Hi Deepak,
I recently did the conversion of CommonPermissionServices to Groovy and I found, that some Security methods are deprecated with no replacement for quite a while now ( {{findUserLoginSecurityGroupByUserLoginId}} and {{securityGroupPermissionExists}}).
As they only seem to be called by the methods {{hasPermission}} and {{hasEntityPermission}}, and both contain not much code, I would propose to clean them of OFBiz and just use the code in both of the permission-methods directly, which then results in some less deprecated code being in OFBiz.
> SecurityFactory implements methods that have been deprecated
> ------------------------------------------------------------
>
> Key: OFBIZ-6280
> URL: https://issues.apache.org/jira/browse/OFBIZ-6280
> Project: OFBiz
> Issue Type: Sub-task
> Components: framework
> Reporter: Adam Heath
> Assignee: Deepak Dixit
> Priority: Minor
> Fix For: 16.11.01
>
>
> This class implements Security, which has methods that have been deprecated. As such, it gets deprecation warnings when implementing those methods.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)