You are welcome, Swati,

On Mon, Jul 21, 2025 at 2:48 AM Swati Srivastava <sw...@xerussystems.com>
wrote:

> Thank you Omar!
>
>
>
> It was quite helpful, the security groups I have added are already there
> in the webtools, the dates looks good too. I will look into other aspects
> of it. Thanks again for sharing this approach!
>
>
>
> Regards
>
> Swati
>
>
>
>
>
>
> ---- On Sun, 20 Jul 2025 06:54:04 -0700 Omar Abdullwahhab <
> omar.abdullwah...@gmail.com> wrote ---
>
>
>
> You are welcome Jacques.
> You are welcome Swati too.
>
> On Sun, Jul 20, 2025 at 4:06 PM Jacques Le Roux <
> mailto:jacques.le.r...@les7arts.com > wrote:
>
> > Thanks Omar,
> >
> > Jacques
> >
> > Le 20/07/2025 à 14:36, Omar Abdullwahhab a écrit :
> > > Hi Swati, Hi Jacques,
> > > As you mentioned Swati
> > >
> > >> created different set of security permissions and security group
> > >> permissions in a new plugin
> > >
> > >
> > > Please have a look at the web tools security section  and review it
> well
> > > (with code behind),
> > > It may will help you understand the problem better
> > > And my hints to you:
> > > As I also  reviewed it just now, the security groups
> > > Assigned to users have from date which is the effective date,
> > > And through-date which is the expiry date.
> > > Also permissions which are assigned to the security group
> > > Have from-date and through date.
> > >
> > > Here is the demo link for security in web-tools
> > > https://demo-stable.ofbiz.apache.org/webtools/control/security
> > >
> > >
> > > On Fri, Jul 18, 2025 at 5:47 PM Jacques Le Roux <
> > > mailto:jacques.le.r...@les7arts.com > wrote:
> > >
> > >> Hi Swati,
> > >>
> > >> Forgot to answer, AFAIK there is no changes in the way we declare
> > >> permissions. As we have no demo for multitenant it's hard to
> reproduce
> > that.
> > >>
> > >> On the other hand it seems there are some issues with your own code.
> I'm
> > >> though not quite sure how this could impact multitenant login. Better
> > try
> > >> to
> > >> fix those issues 1st and see if it has an impact. I'd also check the
> way
> > >> you declare permissions.
> > >>
> > >> HTH
> > >>
> > >> Jacques
> > >>
> > >> Le 18/07/2025 à 09:30, Swati Srivastava a écrit :
> > >>> Hi Jacques,
> > >>>
> > >>>
> > >>>
> > >>> I am copying the logs, please find it below:
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> 2025-07-18 00:25:58,247 |OFBiz-batch-4
> > >> |ServiceDispatcher             |I| Registering dispatcher:
> > >> entity-default#xfactory1#xfactory1
> > >>> 2025-07-18 00:25:58,248 |OFBiz-batch-4
> > >> |ServiceContainer              |I| Created new dispatcher:
> > >> entity-default#xfactory1#xfactory1
> > >>> 2025-07-18 00:25:58,265 |sse-nio-8443-exec-20
> > >> |ServiceDispatcher             |I| Registering dispatcher:
> > xerus#xfactory1
> > >>> 2025-07-18 00:25:58,265 |sse-nio-8443-exec-20
> > >> |ServiceContainer              |I| Created new dispatcher:
> > xerus#xfactory1
> > >>> 2025-07-18 00:25:58,266 |sse-nio-8443-exec-20
> > >> |ControlServlet                |T| [[[xerus::login (Domain:
> > >> https://localhost  )] Request Begun, encoding=[UTF-8]-
> > total:0.001,since
> > >> last(Begin):0.001]]
> > >>> 2025-07-18 00:25:58,304 |sse-nio-8443-exec-20
> > >> |UtilXml                       |E| XmlFileLoader:
> > >>
> >
> Filefile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/webapp/xerus/WEB-INF/controller.xml
>
> > >> process error. Line: 49. Error message: cvc-complex-type.2.4.a:
> Invalid
> > >> content was found starting with element '{"
> > >> http://ofbiz.apache.org/Site-Conf ":request-map }'. One of '{"
> > >> http://ofbiz.apache.org/Site-Conf ":view-map }' is expected.
> > >>> 2025-07-18 00:25:58,305 |sse-nio-8443-exec-20
> > >> |UtilXml                       |E| XmlFileLoader:
> > >>
> >
> Filefile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/webapp/xerus/WEB-INF/controller.xml
>
> > >> process error. Line: 190. Error message: cvc-complex-type.2.4.a:
> Invalid
> > >> content was found starting with element '{"
> > >> http://ofbiz.apache.org/Site-Conf ":security }'. One of '{"
> > >> http://ofbiz.apache.org/Site-Conf ":metric ,"
> > >> http://ofbiz.apache.org/Site-Conf ":event ,"
> > >> http://ofbiz.apache.org/Site-Conf ":response }' is expected.
> > >>> 2025-07-18 00:25:58,308 |sse-nio-8443-exec-20
> > >> |UtilXml                       |E| XmlFileLoader:
> > >>
> >
> Filefile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/webapp/xerus/WEB-INF/controller.xml
>
> > >> process error. Line: 840. Error message: cvc-complex-type.2.4.a:
> Invalid
> > >> content was found starting with element '{"
> > >> http://ofbiz.apache.org/Site-Conf ":event }'. One of '{"
> > >> http://ofbiz.apache.org/Site-Conf ":response }' is expected.
> > >>> 2025-07-18 00:25:58,309 |sse-nio-8443-exec-20
> > >> |UtilXml                       |E| XmlFileLoader:
> > >>
> >
> Filefile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/webapp/xerus/WEB-INF/controller.xml
>
> > >> process error. Line: 1047. Error message: cvc-complex-type.2.4.a:
> > Invalid
> > >> content was found starting with element '{"
> > >> http://ofbiz.apache.org/Site-Conf ":event }'. One of '{"
> > >> http://ofbiz.apache.org/Site-Conf ":response }' is expected.
> > >>> 2025-07-18 00:25:58,311 |sse-nio-8443-exec-20
> > >> |UtilXml                       |E| XmlFileLoader:
> > >>
> >
> Filefile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/webapp/xerus/WEB-INF/controller.xml
>
> > >> process error. Line: 1275. Error message: cvc-complex-type.2.4.a:
> > Invalid
> > >> content was found starting with element '{"
> > >> http://ofbiz.apache.org/Site-Conf ":event }'. One of '{"
> > >> http://ofbiz.apache.org/Site-Conf ":response }' is expected.
> > >>> 2025-07-18 00:25:58,315 |sse-nio-8443-exec-20
> > >> |UtilXml                       |E| XmlFileLoader:
> > >>
> >
> Filefile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/webapp/xerus/WEB-INF/controller.xml
>
> > >> process error. Line: 1952. Error message: cvc-enumeration-valid:
> Value
> > >> 'response' is not facet-valid with respect to enumeration '[none,
> view,
> > >> view-last, view-last-noparam, view-home, request, request-redirect,
> > >> request-redirect-noparam, url, url-redirect, cross-redirect]'. It
> must
> > be a
> > >> value from the enumeration.
> > >>> 2025-07-18 00:25:58,315 |sse-nio-8443-exec-20
> > >> |UtilXml                       |E| XmlFileLoader:
> > >>
> >
> Filefile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/webapp/xerus/WEB-INF/controller.xml
>
> > >> process error. Line: 1952. Error message: cvc-attribute.3: The value
> > >> 'response' of attribute 'type' on element 'response' is not valid
> with
> > >> respect to its type, '#AnonType_typeattlist.response'.
> > >>> 2025-07-18 00:25:58,316 |sse-nio-8443-exec-20
> > >> |UtilXml                       |E| XmlFileLoader:
> > >>
> >
> Filefile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/webapp/xerus/WEB-INF/controller.xml
>
> > >> process error. Line: 1976. Error message: cvc-enumeration-valid:
> Value
> > >> 'response' is not facet-valid with respect to enumeration '[none,
> view,
> > >> view-last, view-last-noparam, view-home, request, request-redirect,
> > >> request-redirect-noparam, url, url-redirect, cross-redirect]'. It
> must
> > be a
> > >> value from the enumeration.
> > >>> 2025-07-18 00:25:58,316 |sse-nio-8443-exec-20
> > >> |UtilXml                       |E| XmlFileLoader:
> > >>
> >
> Filefile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/webapp/xerus/WEB-INF/controller.xml
>
> > >> process error. Line: 1976. Error message: cvc-attribute.3: The value
> > >> 'response' of attribute 'type' on element 'response' is not valid
> with
> > >> respect to its type, '#AnonType_typeattlist.response'.
> > >>> 2025-07-18 00:25:58,318 |sse-nio-8443-exec-20
> > >> |UtilXml                       |E| XmlFileLoader:
> > >>
> >
> Filefile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/webapp/xerus/WEB-INF/controller.xml
>
> > >> process error. Line: 2286. Error message: cvc-complex-type.2.4.a:
> > Invalid
> > >> content was found starting with element '{"
> > >> http://ofbiz.apache.org/Site-Conf ":event }'. One of '{"
> > >> http://ofbiz.apache.org/Site-Conf ":response }' is expected.
> > >>> 2025-07-18 00:25:58,353 |sse-nio-8443-exec-20
> > >> |ConfigXMLReader               |I| controller loaded: 0.0s, 0
> requests,
> > 0
> > >> views
> > >>
> >
> infile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/framework/common/webcommon/WEB-INF/handlers-controller.xml
>
> > >>> 2025-07-18 00:25:58,370 |sse-nio-8443-exec-20
> > >> |ConfigXMLReader               |I| controller loaded: 0.031s, 51
> > requests,
> > >> 22 views
> > >>
> >
> infile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/framework/common/webcommon/WEB-INF/common-controller.xml
>
> > >>> 2025-07-18 00:25:58,477 |sse-nio-8443-exec-20
> > >> |ConfigXMLReader               |I| controller loaded: 0.158s, 310
> > requests,
> > >> 229 views
> > >>
> >
> infile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/webapp/xerus/WEB-INF/controller.xml
>
> > >>> ******************   login method     ************************
> > >>>
> > >>> delegator in firstLogindefault#xfactory1
> > >>>
> > >>> username : xfactory1-swati26 password: ofbiz userLogin1: null
> > >>>
> > >>> When Null then : username : xfactory1-swati26 password: ofbiz token:
> > null
> > >>>
> > >>> When UtilValidate.isEmpty then : username : xfactory1-swati26
> password:
> > >> ofbiz token: null
> > >>> When UtilValidate.isNotEmpty then : username : xfactory1-swati26
> > >> password: ofbiz token: null
> > >>> tenantId : xfactory1
> > >>>
> > >>> UtilValidate.isEmpty tenantId : xfactory1
> > >>>
> > >>> oldDelegatorName : default#xfactory1 delegatorNameHashIndex: 7
> > >> currentDelegatorTenantId: xfactory1
> > >>> UtilValidate.isNotEmpty tenantId : xfactory1
> > >>>
> > >>> In starting of the try for userlogin population
> > >>>
> > >>> In end of the try for userlogin population
> > >>>
> > >>> 2025-07-18 00:25:58,814 |sse-nio-8443-exec-20
> > >> |ServiceDispatcher             |T| Sync service
> > [xerus#xfactory1/userLogin]
> > >> finished in [282] milliseconds
> > >>> 2025-07-18 00:25:58,829 |sse-nio-8443-exec-20
> > >> |ServiceDispatcher             |T| Sync service
> > >> [xerus#xfactory1/preferenceGetSetPermission] finished in [1]
> > milliseconds
> > >>> 2025-07-18 00:25:58,848 |sse-nio-8443-exec-20
> > >> |ServiceDispatcher             |T| Sync service
> > >> [xerus#xfactory1/setUserPreference] finished in [27] milliseconds
> > >>> 2025-07-18 00:25:59,013 |sse-nio-8443-exec-20
> > >> |UtilProperties                |I| ResourceBundle SecurityextUiLabels
> > >> (en_US) created in 0.129s with 69 properties
> > >>> 2025-07-18 00:25:59,029 |sse-nio-8443-exec-20
> > >> |RequestHandler                |I| Ran Event
> > >> [java:org.apache.ofbiz.webapp.control.LoginWorker#login] from
> [request],
> > >> result is [error]
> > >>> 2025-07-18 00:25:59,051 |sse-nio-8443-exec-20
> > >> |RequestHandler                |E| Request login caused an error with
> > the
> > >> following message: You cannot login to this application
> > >>> 2025-07-18 00:25:59,061 |sse-nio-8443-exec-20
> > >> |RequestHandler                |I| Rendering View [login].  Hidden
> > >> sessionId by default.
> > >>> 2025-07-18 00:25:59,081 |sse-nio-8443-exec-20
> > >> |ServiceDispatcher             |T| Sync service
> > >> [xerus#xfactory1/getUserPreferenceGroup] finished in [15]
> milliseconds
> > >>> 2025-07-18 00:25:59,108 |sse-nio-8443-exec-20
> > >> |ScreenFactory                 |I| Got 30 screens in 0.013s
> > >>
> >
> from:file:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/framework/common/widget/CommonScreens.xml
>
> > >>> 2025-07-18 00:25:59,247 |sse-nio-8443-exec-20
> > >> |UtilXml                       |E| XmlFileLoader:
> > >>
> >
> Filefile:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/themes/common-theme/widget/CommonScreens.xml
>
> > >> process error. Line: 271. Error message: cvc-complex-type.2.4.d:
> Invalid
> > >> content was found starting with element 'if-empty'. No child element
> is
> > >> expected at this point.
> > >>> 2025-07-18 00:25:59,254 |sse-nio-8443-exec-20
> > >> |ScreenFactory                 |I| Got 29 screens in 0.019s
> > >>
> >
> from:file:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/themes/common-theme/widget/CommonScreens.xml
>
> > >>> 2025-07-18 00:25:59,262 |sse-nio-8443-exec-20
> > >> |ScreenFactory                 |I| Got 2 screens in 0.006s
> > >>
> >
> from:file:/C:/Users/Swati/Downloads/codeChanges/15072025/xmrp24.09.01v/plugins/xerus/widget/CommonScreens.xml
>
> > >>> 2025-07-18 00:25:59,535 |sse-nio-8443-exec-20
> > >> |ServerHitBin                  |I| The Visit GenericValue stored in
> the
> > >> client session does not exist in the database, not storing server
> hit.
> > >>> 2025-07-18 00:25:59,538 |sse-nio-8443-exec-20
> > >> |ControlServlet                |T| [[[xerus::login (Domain:
> > >> https://localhost  )] Request Done- total:1.273,since
> > last([xerus::login
> > >> (Do...):1.272]]
> > >>> 2025-07-18 00:26:17,792 |OFBiz-JobPoller
> > >> |JobManager                    |I| No crashed jobs to re-schedule
> > >>> 2025-07-18 00:26:17,792 |OFBiz-JobPoller
> > >> |ServiceDispatcher             |I| Registering dispatcher:
> > >> default#xfactory1#xfactory1
> > >>> 2025-07-18 00:26:17,792 |OFBiz-JobPoller
> > >> |ServiceContainer              |I| Created new dispatcher:
> > >> default#xfactory1#xfactory1
> > >>> 2025-07-18 00:26:17,889 |OFBiz-JobQueue-1
> > >> |TransactionUtil               |W| No transaction in place, so not
> > >> suspending.
> > >>> 2025-07-18 00:26:17,899 |OFBiz-JobQueue-1
> > >> |SequenceUtil                  |I| Got bank of sequenced IDs for
> > >> [JobSandbox]; curSeqId=20800, maxSeqId=20900, bankSize=100
> > >>> 2025-07-18 00:26:17,907 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Send Email] Id [20701] --
> Next
> > >> runtime: Fri Jul 18 00:41:17 PDT 2025
> > >>> 2025-07-18 00:26:17,908 |OFBiz-JobQueue-1
> > >> |PersistedServiceJob           |I| Job  [Send Email] Id [20700] --
> Next
> > >> runtime: Fri Jul 18 00:41:17 PDT 2025
> > >>> 2025-07-18 00:26:18,838 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/sendEmailDated] finished in [924]
> > milliseconds
> > >>> 2025-07-18 00:26:18,871 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Auto-create Fixed Asset
> > >> Maintenances] Id [20606] -- Next runtime: Fri Jul 18 01:26:18 PDT
> 2025
> > >>> 2025-07-18 00:26:18,905 |OFBiz-JobQueue-0
> > >> |Log                           |I|
> > >> [CommonPermissionServices.xml#genericBasePermissionCheck line 59]
> This
> > >> simple-method-call is deprecated! Please use a service-call of
> > >> genericBasePermissionCheck instead.
> > >>> 2025-07-18 00:26:19,605 |OFBiz-JobQueue-1
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/sendEmailDated] finished in [1690]
> > milliseconds
> > >>> 2025-07-18 00:26:19,627 |OFBiz-JobQueue-1
> > >> |PersistedServiceJob           |I| Job  [Auto-create Fixed Asset
> > >> Maintenances] Id [20607] -- Next runtime: Fri Jul 18 01:26:19 PDT
> 2025
> > >>> 2025-07-18 00:26:19,628 |OFBiz-JobQueue-1
> > >> |Log                           |I|
> > >> [CommonPermissionServices.xml#genericBasePermissionCheck line 59]
> This
> > >> simple-method-call is deprecated! Please use a service-call of
> > >> genericBasePermissionCheck instead.
> > >>> 2025-07-18 00:26:19,674 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/genericBasePermissionCheck] finished in
> > [764]
> > >> milliseconds
> > >>> 2025-07-18 00:26:19,677 |OFBiz-JobQueue-0
> > >> |ServiceEcaCondition           |W| doRealCompare returned null,
> > returning
> > >> false
> > >>> 2025-07-18 00:26:19,677 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/fixedAssetPermissionCheck] finished in
> > [798]
> > >> milliseconds
> > >>> 2025-07-18 00:26:19,744 |OFBiz-JobQueue-1
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/genericBasePermissionCheck] finished in
> > [114]
> > >> milliseconds
> > >>> 2025-07-18 00:26:19,744 |OFBiz-JobQueue-1
> > >> |ServiceEcaCondition           |W| doRealCompare returned null,
> > returning
> > >> false
> > >>> 2025-07-18 00:26:19,745 |OFBiz-JobQueue-1
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/fixedAssetPermissionCheck] finished in
> > [117]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,274 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/createMaintsFromTimeInterval] finished
> in
> > >> [1394] milliseconds
> > >>> 2025-07-18 00:26:20,306 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Cancels all orders after
> date]
> > Id
> > >> [19526] -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,421 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/cancelAllBackOrders] finished in [114]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,448 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Re-Try Failed Auths NSF] Id
> > >> [19524] -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,457 |OFBiz-JobQueue-0
> > >> |PaymentGatewayServices        |I| Processing failed order re-auth(s)
> > >>> 2025-07-18 00:26:20,460 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/retryFailedAuthNsfs] finished in [11]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,483 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Re-Try Failed Auths] Id
> > [19529] --
> > >> Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,487 |OFBiz-JobQueue-0
> > >> |PaymentGatewayServices        |I| Processing failed order re-auth(s)
> > >>> 2025-07-18 00:26:20,490 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/retryFailedAuths] finished in [6]
> > milliseconds
> > >>> 2025-07-18 00:26:20,513 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Purge Old Store Auto-Entered
> > >> Promos] Id [19522] -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,531 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/purgeOldStoreAutoPromos] finished in
> [17]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,554 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Create Also Bought Product
> > >> Associations] Id [19521] -- Next runtime: Sat Jul 19 00:00:00 PDT
> 2025
> > >>> 2025-07-18 00:26:20,566 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/createAlsoBoughtProductAssocs] finished
> in
> > >> [11] milliseconds
> > >>> 2025-07-18 00:26:20,587 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Clear EntitySyncRemove Info]
> Id
> > >> [19518] -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,588 |OFBiz-JobQueue-0
> > >> |EntitySyncServices            |I| Running cleanSyncRemoveInfo
> > >>> 2025-07-18 00:26:20,599 |OFBiz-JobQueue-0
> > >> |EntitySyncServices            |I| In cleanSyncRemoveInfo removed [0]
> > >> values with TX timestamp before [2025-07-17 00:26:20.595]
> > >>> 2025-07-18 00:26:20,599 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/cleanSyncRemoveInfo] finished in [11]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,621 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Re-Try Failed Auths] Id
> > [19517] --
> > >> Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,625 |OFBiz-JobQueue-0
> > >> |PaymentGatewayServices        |I| Processing failed order re-auth(s)
> > >>> 2025-07-18 00:26:20,627 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/retryFailedAuths] finished in [5]
> > milliseconds
> > >>> 2025-07-18 00:26:20,645 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Re-Try Failed Auths NSF] Id
> > >> [19516] -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,649 |OFBiz-JobQueue-0
> > >> |PaymentGatewayServices        |I| Processing failed order re-auth(s)
> > >>> 2025-07-18 00:26:20,651 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/retryFailedAuthNsfs] finished in [5]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,674 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Run Auto-Reorders] Id
> [19515]
> > --
> > >> Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,686 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/runShoppingListAutoReorder] finished in
> > [11]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,710 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Extend expired
> Subscriptions]
> > Id
> > >> [19514] -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,724 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/runSubscriptionAutoReorders] finished in
> > [14]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,751 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Cancels all orders after
> date]
> > Id
> > >> [19513] -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,757 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/cancelAllBackOrders] finished in [5]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,780 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Run Nominated Service on
> > >> Subscription Expiry] Id [19512] -- Next runtime: Sat Jul 19 00:00:00
> PDT
> > >> 2025
> > >>> 2025-07-18 00:26:20,786 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/runServiceOnSubscriptionExpiry] finished
> in
> > >> [5] milliseconds
> > >>> 2025-07-18 00:26:20,811 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Replacement Held Order
> > >> Auto-Cancel] Id [19511] -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,821 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/autoCancelReplacementOrders] finished in
> > [10]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,848 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Run Nominated Service on
> > >> Subscription Expiry] Id [19510] -- Next runtime: Sat Jul 19 00:00:00
> PDT
> > >> 2025
> > >>> 2025-07-18 00:26:20,855 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/runServiceOnSubscriptionExpiry] finished
> in
> > >> [6] milliseconds
> > >>> 2025-07-18 00:26:20,881 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Purge Old Store Auto-Entered
> > >> Promos] Id [19531] -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,887 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/purgeOldStoreAutoPromos] finished in [5]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,918 |OFBiz-JobQueue-1
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/createMaintsFromTimeInterval] finished
> in
> > >> [1289] milliseconds
> > >>> 2025-07-18 00:26:20,925 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |W| Persisted Job [17499] references a
> > >> RecurrenceInfo, recommend using TemporalExpression instead
> > >>> 2025-07-18 00:26:20,938 |OFBiz-JobQueue-1
> > >> |PersistedServiceJob           |I| Job  [Run Auto-Reorders] Id
> [19527]
> > --
> > >> Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,939 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Auto Reconcile Financial
> > Account]
> > >> Id [17499] -- Next runtime: Wed Jul 23 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:20,946 |OFBiz-JobQueue-1
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/runShoppingListAutoReorder] finished in
> [6]
> > >> milliseconds
> > >>> 2025-07-18 00:26:20,968 |OFBiz-JobQueue-1
> > >> |PersistedServiceJob           |I| Job  [Delete auto-save shopping
> list
> > for
> > >> anonymous users] Id [19525] -- Next runtime: Sat Jul 19 00:00:00 PDT
> > 2025
> > >>> 2025-07-18 00:26:20,980 |OFBiz-JobQueue-1
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/autoDeleteAutoSaveShoppingList] finished
> in
> > >> [11] milliseconds
> > >>> 2025-07-18 00:26:21,004 |OFBiz-JobQueue-1
> > >> |PersistedServiceJob           |I| Job  [Create Also Bought Product
> > >> Associations] Id [19523] -- Next runtime: Sat Jul 19 00:00:00 PDT
> 2025
> > >>> 2025-07-18 00:26:21,016 |OFBiz-JobQueue-1
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/createAlsoBoughtProductAssocs] finished
> in
> > >> [12] milliseconds
> > >>> 2025-07-18 00:26:21,041 |OFBiz-JobQueue-1
> > >> |PersistedServiceJob           |I| Job  [Delete auto-save shopping
> list
> > for
> > >> anonymous users] Id [19520] -- Next runtime: Sat Jul 19 00:00:00 PDT
> > 2025
> > >>> 2025-07-18 00:26:21,050 |OFBiz-JobQueue-1
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/autoDeleteAutoSaveShoppingList] finished
> in
> > >> [8] milliseconds
> > >>> 2025-07-18 00:26:21,072 |OFBiz-JobQueue-1
> > >> |PersistedServiceJob           |I| Job  [BackOrder Notification] Id
> > [19519]
> > >> -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:21,073 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/autoFinAccountReconciliation] finished
> in
> > >> [133] milliseconds
> > >>> 2025-07-18 00:26:21,082 |OFBiz-JobQueue-1
> > >> |InventoryServices             |I| OOS Inventory Items: 0
> > >>> 2025-07-18 00:26:21,084 |OFBiz-JobQueue-1
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/checkInventoryAvailability] finished in
> > [10]
> > >> milliseconds
> > >>> 2025-07-18 00:26:21,093 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [BackOrder Notification] Id
> > [19509]
> > >> -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:21,100 |OFBiz-JobQueue-0
> > >> |InventoryServices             |I| OOS Inventory Items: 0
> > >>> 2025-07-18 00:26:21,103 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/checkInventoryAvailability] finished in
> [9]
> > >> milliseconds
> > >>> 2025-07-18 00:26:21,115 |OFBiz-JobQueue-1
> > >> |PersistedServiceJob           |W| Persisted Job [19004] references a
> > >> RecurrenceInfo, recommend using TemporalExpression instead
> > >>> 2025-07-18 00:26:21,125 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Extend expired
> Subscriptions]
> > Id
> > >> [19530] -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:21,128 |OFBiz-JobQueue-1
> > >> |PersistedServiceJob           |I| Job  [Auto Reconcile Financial
> > Account]
> > >> Id [19004] -- Next runtime: Wed Jul 23 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:21,131 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/runSubscriptionAutoReorders] finished in
> > [6]
> > >> milliseconds
> > >>> 2025-07-18 00:26:21,137 |OFBiz-JobQueue-1
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/autoFinAccountReconciliation] finished
> in
> > [8]
> > >> milliseconds
> > >>> 2025-07-18 00:26:21,152 |OFBiz-JobQueue-0
> > >> |PersistedServiceJob           |I| Job  [Replacement Held Order
> > >> Auto-Cancel] Id [19528] -- Next runtime: Sat Jul 19 00:00:00 PDT 2025
> > >>> 2025-07-18 00:26:21,160 |OFBiz-JobQueue-0
> > >> |ServiceDispatcher             |T| Sync service
> > >> [default#xfactory1#xfactory1/autoCancelReplacementOrders] finished in
> > [7]
> > >> milliseconds
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> Thank You
> > >>>
> > >>>
> > >>>
> > >>> Regards,
> > >>>
> > >>> Swati Srivastava
> > >>>
> > >>> (Software Development Engineer)
> > >>>
> > >>> (Xerus Systems LLC)
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> ---- On Fri, 18 Jul 2025 00:18:34 -0700 Jacques Le Roux<
> > >> mailto:jacques.le.r...@les7arts.com >  wrote ---
> > >>>
> > >>>
> > >>> Hi Swati ,
> > >>>
> > >>> Please copy an put here a short part of the log, let's say max 100
> > lines.
> > >>>
> > >>> Jacques
> > >>>
> > >>> Le 18/07/2025 à 01:54, Swati Srivastava a écrit :
> > >>>> Hello all,
> > >>>>
> > >>>>
> > >>>>
> > >>>> I recently moved to latest version of ofbiz(24.09.01). I am using
> > multi
> > >> tenant and created different set of security permissions and security
> > group
> > >> permissions in a new plugin which I am assigning to every user of
> that
> > >> tenant. The admin of the tenant is able to login, the user given the
> > >> "SUPER" permission is able to login but other users are not able to
> > login.
> > >>>>
> > >>>>
> > >>>> What is the flow of logging a tenant user because in logs it is not
> > >> showing any error but the userlogin is null, token is null.
> > >>>>
> > >>>>
> > >>>> Is there any changes in the way we declare permissions?
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>> Thank You
> > >>>>
> > >>>>
> > >>>>
> > >>>> Regards,
> > >>>>
> > >>>> Swati Srivastava
> > >>>>
> > >>>> (Software Development Engineer)
> > >>>>
> > >>>> (Xerus Systems LLC)​
> > >>> ​
> > >
> > >
> >
>
>
> --
> Omar Abu-Arab
> Java Engineer
>
>
>
>
>
> Thank You
>
>
>
> Regards,
>
> Swati Srivastava
>
> (Software Development Engineer)
>
> (Xerus Systems LLC)​



-- 
Omar Abu-Arab
Java Engineer

Reply via email to