You should be able to. Did you reload the seed data to get the new permissions 
in place?

-David


On Jan 15, 2010, at 12:42 AM, Hans Bakker wrote:

> with admin we cannot login to myportal anymore.....
> 
> 
> On Thu, 2010-01-14 at 07:47 +0000, [email protected] wrote:
>> Author: jonesde
>> Date: Thu Jan 14 07:47:32 2010
>> New Revision: 899088
>> 
>> URL: http://svn.apache.org/viewvc?rev=899088&view=rev
>> Log:
>> Some permissions changes so that webpos and myportal have base permissions 
>> like all other applications except cmssite, which is more like ecommerce as 
>> it is public facing so it is no longer in the Applications menu
>> 
>> Added:
>>    ofbiz/trunk/specialpurpose/webpos/data/WebPosSecurityData.xml   (with 
>> props)
>> Modified:
>>    ofbiz/trunk/specialpurpose/cmssite/ofbiz-component.xml
>>    ofbiz/trunk/specialpurpose/myportal/data/MyPortalSecurityData.xml
>>    ofbiz/trunk/specialpurpose/myportal/ofbiz-component.xml
>>    ofbiz/trunk/specialpurpose/webpos/ofbiz-component.xml
>> 
>> Modified: ofbiz/trunk/specialpurpose/cmssite/ofbiz-component.xml
>> URL: 
>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/cmssite/ofbiz-component.xml?rev=899088&r1=899087&r2=899088&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/specialpurpose/cmssite/ofbiz-component.xml (original)
>> +++ ofbiz/trunk/specialpurpose/cmssite/ofbiz-component.xml Thu Jan 14 
>> 07:47:32 2010
>> @@ -24,12 +24,7 @@
>>     <resource-loader name="main" type="component"/>
>>     <entity-resource type="data" reader-name="demo" loader="main" 
>> location="data/CmsSiteDemoData.xml"/>
>> 
>> -    <webapp name="cmssite"
>> -        title="CMS Site"
>> -        menu-name="secondary"
>> -        server="default-server"
>> -        location="webapp/cmssite"
>> -        mount-point="/cmssite"
>> -        app-bar-display="true"/>
>> +    <webapp name="cmssite" title="CMS Site" menu-name="secondary" 
>> app-bar-display="false"
>> +        server="default-server" location="webapp/cmssite" 
>> mount-point="/cmssite"/>
>> </ofbiz-component>
>> 
>> 
>> Modified: ofbiz/trunk/specialpurpose/myportal/data/MyPortalSecurityData.xml
>> URL: 
>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/data/MyPortalSecurityData.xml?rev=899088&r1=899087&r2=899088&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/specialpurpose/myportal/data/MyPortalSecurityData.xml 
>> (original)
>> +++ ofbiz/trunk/specialpurpose/myportal/data/MyPortalSecurityData.xml Thu 
>> Jan 14 07:47:32 2010
>> @@ -18,7 +18,12 @@
>> under the License.
>> -->
>> <entity-engine-xml>
>> -
>> +    <SecurityPermission description="ALL MyPortal base operations" 
>> permissionId="MYPORTALBASE_ADMIN"/>
>> +    <SecurityPermission description="MyPortal Base View permission." 
>> permissionId="MYPORTALBASE_VIEW"/>
>> +    
>> +    <SecurityGroupPermission groupId="FLEXADMIN" 
>> permissionId="MYPORTALBASE_ADMIN"/>
>> +    <SecurityGroupPermission groupId="FULLADMIN" 
>> permissionId="MYPORTALBASE_ADMIN"/>
>> +    
>>     <SecurityPermission permissionId="MYPORTAL_EMPLOYEE" description="Use 
>> the employee screens in myportal."/>
>>     <SecurityGroup description="Employee user of myportal, Limited access to 
>> the projectmgr, comms,custRequests" groupId="MYPORTAL_EMPLOYEE"/>
>>     <SecurityGroupPermission groupId="MYPORTAL_EMPLOYEE" 
>> permissionId="MYPORTAL_EMPLOYEE"/>
>> 
>> Modified: ofbiz/trunk/specialpurpose/myportal/ofbiz-component.xml
>> URL: 
>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/ofbiz-component.xml?rev=899088&r1=899087&r2=899088&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/specialpurpose/myportal/ofbiz-component.xml (original)
>> +++ ofbiz/trunk/specialpurpose/myportal/ofbiz-component.xml Thu Jan 14 
>> 07:47:32 2010
>> @@ -30,10 +30,6 @@
>> 
>>     <service-resource type="model" loader="main" 
>> location="servicedef/services.xml"/>
>> 
>> -    <webapp name="myportal"
>> -        title="MyPortal"
>> -        server="default-server"
>> -        location="webapp/myportal"
>> -        mount-point="/myportal"
>> -        app-bar-display="true"/>
>> +    <webapp name="myportal" title="MyPortal" app-bar-display="true" 
>> base-permission="MYPORTALBASE"
>> +        server="default-server" location="webapp/myportal" 
>> mount-point="/myportal"/>
>> </ofbiz-component>
>> 
>> Added: ofbiz/trunk/specialpurpose/webpos/data/WebPosSecurityData.xml
>> URL: 
>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/data/WebPosSecurityData.xml?rev=899088&view=auto
>> ==============================================================================
>> --- ofbiz/trunk/specialpurpose/webpos/data/WebPosSecurityData.xml (added)
>> +++ ofbiz/trunk/specialpurpose/webpos/data/WebPosSecurityData.xml Thu Jan 14 
>> 07:47:32 2010
>> @@ -0,0 +1,27 @@
>> +<?xml version="1.0" encoding="UTF-8"?>
>> +<!--
>> +Licensed to the Apache Software Foundation (ASF) under one
>> +or more contributor license agreements.  See the NOTICE file
>> +distributed with this work for additional information
>> +regarding copyright ownership.  The ASF licenses this file
>> +to you under the Apache License, Version 2.0 (the
>> +"License"); you may not use this file except in compliance
>> +with the License.  You may obtain a copy of the License at
>> +
>> +http://www.apache.org/licenses/LICENSE-2.0
>> +
>> +Unless required by applicable law or agreed to in writing,
>> +software distributed under the License is distributed on an
>> +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> +KIND, either express or implied.  See the License for the
>> +specific language governing permissions and limitations
>> +under the License.
>> +-->
>> +<entity-engine-xml>
>> +    <!-- Asset Maintenance security -->
>> +    <SecurityPermission description="ALL Web POS operations." 
>> permissionId="WEBPOS_ADMIN"/>
>> +    <SecurityPermission description="Web POS View permission." 
>> permissionId="WEBPOS_VIEW"/>
>> +
>> +    <SecurityGroupPermission groupId="FLEXADMIN" 
>> permissionId="MYPORTALBASE_ADMIN"/>
>> +    <SecurityGroupPermission groupId="FULLADMIN" 
>> permissionId="WEBPOS_ADMIN"/>
>> +</entity-engine-xml>
>> 
>> Propchange: ofbiz/trunk/specialpurpose/webpos/data/WebPosSecurityData.xml
>> ------------------------------------------------------------------------------
>>    svn:eol-style = native
>> 
>> Propchange: ofbiz/trunk/specialpurpose/webpos/data/WebPosSecurityData.xml
>> ------------------------------------------------------------------------------
>>    svn:keywords = "Date Rev Author URL Id"
>> 
>> Propchange: ofbiz/trunk/specialpurpose/webpos/data/WebPosSecurityData.xml
>> ------------------------------------------------------------------------------
>>    svn:mime-type = text/xml
>> 
>> Modified: ofbiz/trunk/specialpurpose/webpos/ofbiz-component.xml
>> URL: 
>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/ofbiz-component.xml?rev=899088&r1=899087&r2=899088&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/specialpurpose/webpos/ofbiz-component.xml (original)
>> +++ ofbiz/trunk/specialpurpose/webpos/ofbiz-component.xml Thu Jan 14 
>> 07:47:32 2010
>> @@ -26,7 +26,8 @@
>>     <classpath type="jar" location="build/lib/*"/>
>> 
>>     <entity-resource type="data" reader-name="demo" loader="main" 
>> location="data/DemoPosData.xml"/>
>> -
>> +    <entity-resource type="data" reader-name="demo" loader="main" 
>> location="data/WebPosSecurityData.xml"/>
>> +    
>>     <service-resource type="model" loader="main" 
>> location="servicedef/services.xml"/>
>>     <service-resource type="model" loader="main" 
>> location="servicedef/services_manager.xml"/>
>>     <service-resource type="model" loader="main" 
>> location="servicedef/services_payment.xml"/>
>> @@ -37,6 +38,7 @@
>>         server="default-server"
>>         menu-name="secondary"
>>         location="webapp/webpos"
>> +        base-permission="WEBPOS"
>>         mount-point="/webpos"
>>         app-bar-display="true"/>
>> </ofbiz-component>
>> 
>> 
> -- 
> Antwebsystems.com: Quality OFBiz services for competitive rates
> 

Reply via email to