From user-return-53839-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Tue May 15 15:25:45 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id F024C180634 for ; Tue, 15 May 2018 15:25:44 +0200 (CEST) Received: (qmail 17309 invoked by uid 500); 15 May 2018 13:25:43 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 17291 invoked by uid 99); 15 May 2018 13:25:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2018 13:25:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6D7F5C07DD for ; Tue, 15 May 2018 13:25:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.979 X-Spam-Level: * X-Spam-Status: No, score=1.979 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, T_REMOTE_IMAGE=0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=hotwaxsystems-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ZL3W7T7Ilk6J for ; Tue, 15 May 2018 13:25:40 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 0A8A45F16F for ; Tue, 15 May 2018 13:25:40 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id h9-v6so216671lfi.0 for ; Tue, 15 May 2018 06:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotwaxsystems-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=tP8zCLPAIxtNWn6kTc+yx1jNA7jU06Ah6lqxjYY2NwM=; b=s4IeJDi9a3H89zNh4Zli7ud+LPWg2crtbdYPIE0ECQxJ0XGzCV1I7TH6iVYiQL4mud rehLXFOCoZmBzL4Dv3khEWxpd+u0jxWv02ViqpERvnsWQ6B08PuiX4xI80FWkZF+LuMD GFhxAiRxeFtFd6kAOgukmCKEeDxZ1GQi/BVwk4NcUTk+u4HMJmRqBzE9UveabBxufp10 D6UqrwwZEuGhAWi8LLaqbYsnNUueFr9Pt67aYXUcoEYXdzo9egZgxcrTzXf9DpT8AXMW scyzWfoSl+FRJvLoSzLTBfdlxAViuuvkf38C6+a/a/L7JThRvEo0Xyu9NBUMN4pyCHCe ZIQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=tP8zCLPAIxtNWn6kTc+yx1jNA7jU06Ah6lqxjYY2NwM=; b=tGtHzb+O3vc0XaFLLff5YyQoiSjHl2D3eRUGHqUsGICS9LrT0amibgnSvPYvYolJeo MG8yvVT4sQbbe3hZrnWSqkyCy+GRZtipWs67RFeqdG0ddM3wy38wqhAwLjz2sHOkLnb4 DLZ0lRDnTzf55ZJsaEAXcfE9StCqXvrnT0P7e0pACds8zhW3O7RD3RQZ28tSEm+xoUVq lXWizxtScRYOpeS3Uk/73Su3bLxKHIbC1ucN3rXYO/OoOI3pdVTqpcEdse2hWeeKoriI KteCoATdJ+CU3FHPuX16mCIea2/Q0d5JvTyTP2joMcfbpjJfL23IV6YPM8w+m11KiKC2 ybxQ== X-Gm-Message-State: ALKqPwehoMsmrwh6f5TotuutYF1xx+ZlVwzIlEL9MA/VU2648+mguWH5 Q/b8u5lJz8uH9wjwwg/O1dvFtlmPvRPDeE2J7jkuMFK5 X-Google-Smtp-Source: AB8JxZqGi04WlZ+3f7ujqSekTg4UeYSNUiTQftY3vpcVrRhkCHfvIalG/K7FYEnC6H813ptIYqMOmkGvhezuXhRNlFg= X-Received: by 2002:a2e:6e10:: with SMTP id j16-v6mr7544528ljc.61.1526390732919; Tue, 15 May 2018 06:25:32 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Aditya Sharma Date: Tue, 15 May 2018 18:55:21 +0530 Message-ID: Subject: Re: hiding / toggling visibility of OFBiz applications To: user@ofbiz.apache.org Content-Type: multipart/alternative; boundary="0000000000006ca5ec056c3e891f" --0000000000006ca5ec056c3e891f Content-Type: text/plain; charset="UTF-8" Hi Rajesh, You can refer to the following link for security permission-related information. Refer following entities: *SecurityPermission* entity stores permissions. Refer framework/webtools/data/WebtoolsSecurityPermissionSeedData.xml. *SecurityGroup* entity is used to create user groups with specific permission. *UserLoginSecurityGroup* entity associates SecurityGroup to UserLogin. *SecurityGroupPermission* entity associates SecurityGroup to SecurityPermission. Refer applications/datamodel/data/demo/OrderDemoData.xml. For application-level permission, there is a base-permission attribute for web-app in ofbiz-component.xml. Refer applications/workeffort/ofbiz-component.xml:41 In LoginWorker.java:1106, it checks if the logged in user has required permissions. If you intend to remove only links from the app bar. You can use app-bar-display="false" attribute for the webapp in ofbiz-component.xml Refer themes/rainbowstone/ofbiz-component.xml:38 Thanks and Regards, *Aditya Sharma* | Enterprise Software Engineer HotWax Systems On Tue, May 15, 2018 at 4:42 PM Rajesh Mallah wrote: > Hi , > > I intend to offer OFBiz account application to a client and > do not want to expose/support the non-accounting parts. > > Is it possible to hide the other applications ? > > I am not concerned that certain links of the Accounting application > may lead to related non-accounting applications. Showing a graceful > message there should be sufficient. > > Is it ( UI visibility) driven by party roles and login security groups ? > > regds > mallah. > --0000000000006ca5ec056c3e891f--