Thanks George. The "restricted" parameter looks like it only applies to situations where the user needs to be superadmin but isn't. I suppose I could (and probably should) add another boolean parameter in a similar vein for pbxman and check it in Border anyway to be safe. The thing is, there are many finer-grained sub-permissions that need to be checked. I suppose I could rework things so that instead of checking permissons in pageBeginRender() for the individual pages or using Tapestry conditionals in the html, Border would take a String parameter ( getPbxmanPermission() ) containing the name of the required sub-permission for the page which is including it. That way, the html could contain something like pbxmanPermission="pbxman-manage-cdr"... If this way turns out to be cleaner and more flexible, I should probably go with that.
Thanks again, Andy ----- Original Message ----- From: "George Niculae" <[email protected]> To: "Discussion list for users of sipXecs software" <[email protected]> Sent: Thursday, December 8, 2011 3:59:01 PM Subject: Re: [sipx-users] Web portal access restricted to CDR report only You may want to check how restricted="true" is implemented for Border component e.g. <div jwcid="@common/Border" restricted="true" borderTitle="ognl:borderTitle"> George
_______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users/
