Content Permissions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Content Permissions

Tim Ruppert
Since I upgrade this weekend, I'm having an issue with a user in production not being able to add new content via the catalog manager -> Product -> Content subpane.  Not sure what it is, but it looks to be related to some of the refactoring that's been going on around perms :)

All seed data has been updated - Adrian, is there some other perm that I missed that needs to be granted to these people so they don't end up with a stack trace that looks like the following:



The Following Errors Occurred:

ERROR: Could not complete the Create Simple Text Content [file:/BLAH/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createSimpleTextContent] process [problem invoking the [createDataResource] service with the map named [createSimpleTextDataResource] containing [{locale=en_US, timeZone=sun.util.calendar.ZoneInfo[id="America/Chicago",offset=-21600000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/Chicago,offset=-21600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]], hasPermission=true, dataTemplateTypeId=FTL, localeString=null, userLogin=[GenericEntity:UserLogin][createdStamp,2007-01-24 00:08:59.714(java.sql.Timestamp)][createdTxStamp,2007-01-24 00:08:59.675(java.sql.Timestamp)][currentPassword,FFFFFF(java.lang.String)][disabledDateTime,2007-07-01 05:26:39.731(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2007-10-21 03:35:55.318(java.sql.Timestamp)][lastUpdatedTxStamp,2007-10-21 03:35:55.318(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,N(java.lang.String)][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)], responseMessage=success, dataResourceTypeId=ELECTRONIC_TEXT}]: Unknown parameter found: [createDataResource.hasPermission]Unknown parameter found: [createDataResource.responseMessage]] calling service createSimpleTextContent in createSimpleTextContentForProduct

Cheers,
Tim
--
Tim Ruppert
HotWax Media

o:801.649.6594
f:801.649.6595



smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Content Permissions

Adrian Crum
Tim,

There was a commit that occurred over the weekend that broke some of the service dispatcher stuff.
It was fixed later on. Depending on when you updated, you may have picked up the bad version.

I checked the service in the error message - I haven't touched that service, and it doesn't call
anything I've been working on.

-Adrian

Tim Ruppert wrote:

> Since I upgrade this weekend, I'm having an issue with a user in
> production not being able to add new content via the catalog manager ->
> Product -> Content subpane.  Not sure what it is, but it looks to be
> related to some of the refactoring that's been going on around perms :)
>
> All seed data has been updated - Adrian, is there some other perm that I
> missed that needs to be granted to these people so they don't end up
> with a stack trace that looks like the following:
>
>
>
> The Following Errors Occurred:
>
> ERROR: Could not complete the Create Simple Text Content
> [file:/BLAH/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createSimpleTextContent]
> process [problem invoking the [createDataResource] service with the map
> named [createSimpleTextDataResource] containing [{locale=en_US,
> timeZone=sun.util.calendar.ZoneInfo[id="America/Chicago",offset=-21600000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/Chicago,offset=-21600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],
> hasPermission=true, dataTemplateTypeId=FTL, localeString=null,
> userLogin=[GenericEntity:UserLogin][createdStamp,2007-01-24
> 00:08:59.714(java.sql.Timestamp)][createdTxStamp,2007-01-24
> 00:08:59.675(java.sql.Timestamp)][currentPassword,FFFFFF(java.lang.String)][disabledDateTime,2007-07-01
> 05:26:39.731(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2007-10-21
> 03:35:55.318(java.sql.Timestamp)][lastUpdatedTxStamp,2007-10-21
> 03:35:55.318(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,N(java.lang.String)][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)],
> responseMessage=success, dataResourceTypeId=ELECTRONIC_TEXT}]: Unknown
> parameter found: [createDataResource.hasPermission]Unknown parameter
> found: [createDataResource.responseMessage]] calling service
> createSimpleTextContent in createSimpleTextContentForProduct
>
> Cheers,
> Tim
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Content Permissions

Adrian Crum
Rev 586938 is what you need.


Adrian Crum wrote:

> Tim,
>
> There was a commit that occurred over the weekend that broke some of the
> service dispatcher stuff. It was fixed later on. Depending on when you
> updated, you may have picked up the bad version.
>
> I checked the service in the error message - I haven't touched that
> service, and it doesn't call anything I've been working on.
>
> -Adrian
>
> Tim Ruppert wrote:
>
>> Since I upgrade this weekend, I'm having an issue with a user in
>> production not being able to add new content via the catalog manager
>> -> Product -> Content subpane.  Not sure what it is, but it looks to
>> be related to some of the refactoring that's been going on around
>> perms :)
>>
>> All seed data has been updated - Adrian, is there some other perm that
>> I missed that needs to be granted to these people so they don't end up
>> with a stack trace that looks like the following:
>>
>>
>>
>> The Following Errors Occurred:
>>
>> ERROR: Could not complete the Create Simple Text Content
>> [file:/BLAH/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createSimpleTextContent]
>> process [problem invoking the [createDataResource] service with the
>> map named [createSimpleTextDataResource] containing [{locale=en_US,
>> timeZone=sun.util.calendar.ZoneInfo[id="America/Chicago",offset=-21600000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/Chicago,offset=-21600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],
>> hasPermission=true, dataTemplateTypeId=FTL, localeString=null,
>> userLogin=[GenericEntity:UserLogin][createdStamp,2007-01-24
>> 00:08:59.714(java.sql.Timestamp)][createdTxStamp,2007-01-24
>> 00:08:59.675(java.sql.Timestamp)][currentPassword,FFFFFF(java.lang.String)][disabledDateTime,2007-07-01
>> 05:26:39.731(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2007-10-21
>> 03:35:55.318(java.sql.Timestamp)][lastUpdatedTxStamp,2007-10-21
>> 03:35:55.318(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,N(java.lang.String)][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)],
>> responseMessage=success, dataResourceTypeId=ELECTRONIC_TEXT}]: Unknown
>> parameter found: [createDataResource.hasPermission]Unknown parameter
>> found: [createDataResource.responseMessage]] calling service
>> createSimpleTextContent in createSimpleTextContentForProduct
>>
>> Cheers,
>> Tim
>> --
>> Tim Ruppert
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> o:801.649.6594
>> f:801.649.6595
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Content Permissions

Tim Ruppert
Thanks Adrian - this was broken right when I updated :)  I will grab this patch and apply it for this particular version.

Cheers,
Tim
--
Tim Ruppert
HotWax Media

o:801.649.6594
f:801.649.6595


On Oct 22, 2007, at 6:02 PM, Adrian Crum wrote:

Rev 586938 is what you need.


Adrian Crum wrote:

Tim,
There was a commit that occurred over the weekend that broke some of the service dispatcher stuff. It was fixed later on. Depending on when you updated, you may have picked up the bad version.
I checked the service in the error message - I haven't touched that service, and it doesn't call anything I've been working on.
-Adrian
Tim Ruppert wrote:
Since I upgrade this weekend, I'm having an issue with a user in production not being able to add new content via the catalog manager -> Product -> Content subpane.  Not sure what it is, but it looks to be related to some of the refactoring that's been going on around perms :)

All seed data has been updated - Adrian, is there some other perm that I missed that needs to be granted to these people so they don't end up with a stack trace that looks like the following:



The Following Errors Occurred:

ERROR: Could not complete the Create Simple Text Content [file:/BLAH/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createSimpleTextContent] process [problem invoking the [createDataResource] service with the map named [createSimpleTextDataResource] containing [{locale=en_US, timeZone=sun.util.calendar.ZoneInfo[id="America/Chicago",offset=-21600000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/Chicago,offset=-21600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]], hasPermission=true, dataTemplateTypeId=FTL, localeString=null, userLogin=[GenericEntity:UserLogin][createdStamp,2007-01-24 00:08:59.714(java.sql.Timestamp)][createdTxStamp,2007-01-24 00:08:59.675(java.sql.Timestamp)][currentPassword,FFFFFF(java.lang.String)][disabledDateTime,2007-07-01 05:26:39.731(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2007-10-21 03:35:55.318(java.sql.Timestamp)][lastUpdatedTxStamp,2007-10-21 03:35:55.318(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,N(java.lang.String)][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)], responseMessage=success, dataResourceTypeId=ELECTRONIC_TEXT}]: Unknown parameter found: [createDataResource.hasPermission]Unknown parameter found: [createDataResource.responseMessage]] calling service createSimpleTextContent in createSimpleTextContentForProduct

Cheers,
Tim
-- 
Tim Ruppert
HotWax Media

o:801.649.6594
f:801.649.6595





smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Content Permissions

Tim Ruppert
I had to make some slight revs for it to work because of the other 1.5 changes, but it's now working - thanks for the pointer Adrian - big help.

Cheers,
Tim
--
Tim Ruppert
HotWax Media

o:801.649.6594
f:801.649.6595


On Oct 22, 2007, at 6:26 PM, Tim Ruppert wrote:

Thanks Adrian - this was broken right when I updated :)  I will grab this patch and apply it for this particular version.

Cheers,
Tim
--
Tim Ruppert
HotWax Media

o:801.649.6594
f:801.649.6595


On Oct 22, 2007, at 6:02 PM, Adrian Crum wrote:

Rev 586938 is what you need.


Adrian Crum wrote:

Tim,
There was a commit that occurred over the weekend that broke some of the service dispatcher stuff. It was fixed later on. Depending on when you updated, you may have picked up the bad version.
I checked the service in the error message - I haven't touched that service, and it doesn't call anything I've been working on.
-Adrian
Tim Ruppert wrote:
Since I upgrade this weekend, I'm having an issue with a user in production not being able to add new content via the catalog manager -> Product -> Content subpane.  Not sure what it is, but it looks to be related to some of the refactoring that's been going on around perms :)

All seed data has been updated - Adrian, is there some other perm that I missed that needs to be granted to these people so they don't end up with a stack trace that looks like the following:



The Following Errors Occurred:

ERROR: Could not complete the Create Simple Text Content [file:/BLAH/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createSimpleTextContent] process [problem invoking the [createDataResource] service with the map named [createSimpleTextDataResource] containing [{locale=en_US, timeZone=sun.util.calendar.ZoneInfo[id="America/Chicago",offset=-21600000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/Chicago,offset=-21600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]], hasPermission=true, dataTemplateTypeId=FTL, localeString=null, userLogin=[GenericEntity:UserLogin][createdStamp,2007-01-24 00:08:59.714(java.sql.Timestamp)][createdTxStamp,2007-01-24 00:08:59.675(java.sql.Timestamp)][currentPassword,FFFFFF(java.lang.String)][disabledDateTime,2007-07-01 05:26:39.731(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2007-10-21 03:35:55.318(java.sql.Timestamp)][lastUpdatedTxStamp,2007-10-21 03:35:55.318(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,N(java.lang.String)][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)], responseMessage=success, dataResourceTypeId=ELECTRONIC_TEXT}]: Unknown parameter found: [createDataResource.hasPermission]Unknown parameter found: [createDataResource.responseMessage]] calling service createSimpleTextContent in createSimpleTextContentForProduct

Cheers,
Tim
-- 
Tim Ruppert
HotWax Media

o:801.649.6594
f:801.649.6595






smime.p7s (3K) Download Attachment