New content and Add menu restrict.

4 Messages Forum Options Options
Embed this topic
Permalink
Allyson Alves
New content and Add menu restrict.
Reply Threaded MoreMore options
Print post
Permalink
Hello guys

I created a new type of content for the plone using argouml and
archgenxml. After installation of this product I updated the list of
restrictions on type of content that could be added in a folder in the
menu Add the problem and that as I enter the site plone with the
profile of the site administrator Add me the menu shows the types of
restrict content that after installing the above product, but as I
enter with the profile of a user who has rights in that folder through
sharing of rights in the folder, the menu Add does not show the new
content that I have just installed. I hope I have been clear! How can
I solve this small problem?

Thanks so much

--
Allyson Roberto Alves Cavalcanti
South America - Brazil
55-83-8858-5419

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
akameswaran@gmail.com
Re: New content and Add menu restrict.
Reply Threaded MoreMore options
Print post
Permalink
YOu could try setting the property for the type to implicitly addable
in the zmi.

See if that works.


On Aug 13, 5:43 pm, "Allyson Alves" <allysonal...@...> wrote:

> Hello guys
>
> I created a new type of content for the plone using argouml and
> archgenxml. After installation of this product I updated the list of
> restrictions on type of content that could be added in a folder in the
> menu Add the problem and that as I enter the site plone with the
> profile of the site administrator Add me the menu shows the types of
> restrict content that after installing the above product, but as I
> enter with the profile of a user who has rights in that folder through
> sharing of rights in the folder, the menu Add does not show the new
> content that I have just installed. I hope I have been clear! How can
> I solve this small problem?
>
> Thanks so much
>
> --
> Allyson Roberto Alves Cavalcanti
> South America - Brazil
> 55-83-8858-5419
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Plone-Users mailing list
> Plone-Us...@...://lists.sourceforge.net/lists/listinfo/plone-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Allyson Alves
Re: New content and Add menu restrict.
Reply Threaded MoreMore options
Print post
Permalink
Please, you do not have to apologise!

"You are able to add the new content type to the root folder, but it
did not extend to the existing sub folders, only newer ones?"

When I access the site with a user profile with the site administrator
I can add the new type of content in the root folder and subfolders in
place, but when access the site with a user who has access and rights
to root folder via sharing, the new type of content is no longer
displayed in the add menu, and the existing subfolders also happens
the same. If that user create a new subfolder in the root folder,
enter in this folder, then add menu now displays the new type of
content as an option for addition.

NOTE: When I refer to root folder that is not necessarily the root
folder plone site, which I have actually is a structure of folders for
each case and consider this as the root for that case.

EX. Plone Site-> Folder1-> SubFolder1
    Plone Site-> Folder1-> SubFolder2

And so on.

"What is the new content you added?  What did you subclass to create
the content? "

Here are:

http://paste.plone.org/23771

"If the permissions are not extending down, I wonder why that should be?"

For that I am observing is not a question of permissions, but the
behaviour of the menu add that I see so interacts with the user's
profile but I do not know how and where can I see this interaction
controls in ZMI.

I do not know so thoroughly the code of plone to go check the code
python has some bug or is a behavior zope etc.

"What happens if you add one of the standard types back in?  Do you
get the same behavior?"

I have tried what you suggested doing an update on the menu add,
including the option to add files in root and the behavior was as I
expected, namely that all users have access to root folder and have
rights to record this data may include add files through the menu,
including the existing folders.

After doing this test could then understand that the plone set the
menu to add an object at the time of its creation.

When I installed the new type of content the subfolders of the
existing root folder had not "information" on this new type of content
when they were created, but from the moment I installed the new type
of content, I made the restriction on the menu add the root folder,
subfolders created from that moment on the menu now show add this new
type of content.

The problem are only with the subfolders that already existed in the
time that the new content type was not installed! I think who can help
us will be the guys of the core developers of plone.

Thanks

2008/9/12 Anand Kameswaran <akameswaran@...>:

> Sorry for the long delay... I was on a much needed vacation and was without
> net access for a couple of weeks.
>
> Let me see if I understand you correctly.
>
> You are able to add the new content type to the root folder, but it did not
> extend to the existing sub folders, only newer ones?
>
> What is the new content you added?  What did you subclass to create the
> content?
>
> If the permissions are not extending down, I wonder why that should be?
> What happens if you add one of the standard types back in?  Do you get the
> same behavior?
>
> On Tue, Aug 26, 2008 at 8:18 PM, Allyson Alves <allysonalves@...>
> wrote:
>>
>> I am stating quite resolve this problem so I ask again, if possible,
>> the help of you.
>>
>> Greetings and now I am grateful.
>>
>> 2008/8/22 Allyson Alves <allysonalves@...>:
>> > the check box was already selected.
>> >
>> > But I have other information that may help address that problem.
>> >
>> > What I have on the site is a root folder with several sub-folders. The
>> > root folder was set to only allow the addition of folders or pages;
>> > did this setting restrictions through the menu Add the subfolders are
>> > set to inherit the settings of the folder above restriction.
>> >
>> > After installing the new content did an update on the type of content
>> > that can be added to root folder, with this configuration I found that
>> > the plone would spread to the subfolders but that was not the case,
>> > only the new folders created after the installation of new content is
>> > that enable the addition of new content.
>> >
>> > If I had a way of spreading the upgrade I made restrictions on the
>> > menu add to the root folder of subfolders will be a great help.
>> >
>> > Greetings and thank you all for helping
>> >
>> > 2008/8/20 Anand Kameswaran <akameswaran@...>:
>> >> Was out of town for a few days...
>> >> Go to your plone site,
>> >> go to portal_types in the root of your Plone Site.
>> >>
>> >> From here click on the type you want to be able to add.  On the
>> >> property
>> >> sheet, there should be an Implicitly Addable check box, check it and
>> >> save
>> >> changed.
>> >>
>> >> Let me know if you still have questions.
>> >> Cheers,
>> >> AK
>> >>
>> >>
>> >> On 8/14/08, Allyson Alves <allysonalves@...> wrote:
>> >>>
>> >>> Hello guys
>> >>>
>> >>> is not clear to me where I can make this setting in ZMI, you could
>> >>> help me indicating the path?
>> >>>
>> >>> Thanks so much
>> >>>
>> >>> 2008/8/14 akameswaran <akameswaran@...>:
>> >>> > YOu could try setting the property for the type to implicitly
>> >>> > addable
>> >>> > in the zmi.
>> >>> >
>> >>> > See if that works.
>> >>> >
>> >>> >
>> >>> > On Aug 13, 5:43 pm, "Allyson Alves" <allysonal...@...> wrote:
>> >>> >> Hello guys
>> >>> >>
>> >>> >> I created a new type of content for the plone using argouml and
>> >>> >> archgenxml. After installation of this product I updated the list
>> >>> >> of
>> >>> >> restrictions on type of content that could be added in a folder in
>> >>> >> the
>> >>> >> menu Add the problem and that as I enter the site plone with the
>> >>> >> profile of the site administrator Add me the menu shows the types
>> >>> >> of
>> >>> >> restrict content that after installing the above product, but as I
>> >>> >> enter with the profile of a user who has rights in that folder
>> >>> >> through
>> >>> >> sharing of rights in the folder, the menu Add does not show the new
>> >>> >> content that I have just installed. I hope I have been clear! How
>> >>> >> can
>> >>> >> I solve this small problem?
>> >>> >>
>> >>> >> Thanks so much
>> >>> >>
>> >>> >> --
>> >>> >> Allyson Roberto Alves Cavalcanti
>> >>> >> South America - Brazil
>> >>> >> 55-83-8858-5419
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >> -------------------------------------------------------------------------
>> >>> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> >>> >> challenge
>> >>> >> Build the coolest Linux based applications with Moblin SDK & win
>> >>> >> great
>> >>> >> prizes
>> >>> >> Grand prize is a trip for two to an Open Source event anywhere in
>> >>> >> the
>> >>> >> worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/
>> >>> >> _______________________________________________
>> >>> >> Plone-Users mailing list
>> >>> >>
>> >>> >>
>> >>> >> Plone-Us...@...://lists.sourceforge.net/lists/listinfo/plone-users
>> >>> >
>> >>> >
>> >>> >
>> >>> > -------------------------------------------------------------------------
>> >>> > This SF.Net email is sponsored by the Moblin Your Move Developer's
>> >>> > challenge
>> >>> > Build the coolest Linux based applications with Moblin SDK & win
>> >>> > great
>> >>> > prizes
>> >>> > Grand prize is a trip for two to an Open Source event anywhere in
>> >>> > the
>> >>> > world
>> >>> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> >>> > _______________________________________________
>> >>> > Plone-Users mailing list
>> >>> > Plone-Users@...
>> >>> > https://lists.sourceforge.net/lists/listinfo/plone-users
>> >>> >
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Allyson Roberto Alves Cavalcanti
>> >>> South America - Brazil
>> >>> 55-83-8858-5419
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Allyson Roberto Alves Cavalcanti
>> > South America - Brazil
>> > 55-83-8858-5419
>> >
>>
>>
>>
>> --
>> Allyson Roberto Alves Cavalcanti
>> South America - Brazil
>> 55-83-8858-5419
>
>



--
Allyson Roberto Alves Cavalcanti
South America - Brazil
55-83-8858-5419

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Allyson Alves
Re: Delivery Status Notification (Failure)
Reply Threaded MoreMore options
Print post
Permalink
Hello Guys

Can someone indicate what the files that contains the code that
controls the restriction options of the add menu?

Thanks

Allyson Roberto Alves Cavalcanti

2008/9/15  <postmaster@...>:

> This is an automatically generated Delivery Status Notification.
>
> Delivery to the following recipients failed.
>
>       ajd@...
>
>
>
>
> Final-Recipient: rfc822;ajd@...
> Action: failed
> Status: 5.2.2
> X-Display-Name: Ajay Deshpande
>
>
>
> ---------- Mensagem encaminhada ----------
> From: "Allyson Alves" <allysonalves@...>
> To: "Lista Plone" <plone-users@...>
> Date: Fri, 12 Sep 2008 19:10:26 -0200
> Subject: Re: [Plone-Users] New content and Add menu restrict.
> Please, you do not have to apologise!
>
> "You are able to add the new content type to the root folder, but it
> did not extend to the existing sub folders, only newer ones?"
>
> When I access the site with a user profile with the site administrator
> I can add the new type of content in the root folder and subfolders in
> place, but when access the site with a user who has access and rights
> to root folder via sharing, the new type of content is no longer
> displayed in the add menu, and the existing subfolders also happens
> the same. If that user create a new subfolder in the root folder,
> enter in this folder, then add menu now displays the new type of
> content as an option for addition.
>
> NOTE: When I refer to root folder that is not necessarily the root
> folder plone site, which I have actually is a structure of folders for
> each case and consider this as the root for that case.
>
> EX. Plone Site-> Folder1-> SubFolder1
>    Plone Site-> Folder1-> SubFolder2
>
> And so on.
>
> "What is the new content you added?  What did you subclass to create
> the content? "
>
> Here are:
>
> http://paste.plone.org/23771
>
> "If the permissions are not extending down, I wonder why that should be?"
>
> For that I am observing is not a question of permissions, but the
> behaviour of the menu add that I see so interacts with the user's
> profile but I do not know how and where can I see this interaction
> controls in ZMI.
>
> I do not know so thoroughly the code of plone to go check the code
> python has some bug or is a behavior zope etc.
>
> "What happens if you add one of the standard types back in?  Do you
> get the same behavior?"
>
> I have tried what you suggested doing an update on the menu add,
> including the option to add files in root and the behavior was as I
> expected, namely that all users have access to root folder and have
> rights to record this data may include add files through the menu,
> including the existing folders.
>
> After doing this test could then understand that the plone set the
> menu to add an object at the time of its creation.
>
> When I installed the new type of content the subfolders of the
> existing root folder had not "information" on this new type of content
> when they were created, but from the moment I installed the new type
> of content, I made the restriction on the menu add the root folder,
> subfolders created from that moment on the menu now show add this new
> type of content.
>
> The problem are only with the subfolders that already existed in the
> time that the new content type was not installed! I think who can help
> us will be the guys of the core developers of plone.
>
> Thanks
>
> 2008/9/12 Anand Kameswaran <akameswaran@...>:
>> Sorry for the long delay... I was on a much needed vacation and was without
>> net access for a couple of weeks.
>>
>> Let me see if I understand you correctly.
>>
>> You are able to add the new content type to the root folder, but it did not
>> extend to the existing sub folders, only newer ones?
>>
>> What is the new content you added?  What did you subclass to create the
>> content?
>>
>> If the permissions are not extending down, I wonder why that should be?
>> What happens if you add one of the standard types back in?  Do you get the
>> same behavior?
>>
>> On Tue, Aug 26, 2008 at 8:18 PM, Allyson Alves <allysonalves@...>
>> wrote:
>>>
>>> I am stating quite resolve this problem so I ask again, if possible,
>>> the help of you.
>>>
>>> Greetings and now I am grateful.
>>>
>>> 2008/8/22 Allyson Alves <allysonalves@...>:
>>> > the check box was already selected.
>>> >
>>> > But I have other information that may help address that problem.
>>> >
>>> > What I have on the site is a root folder with several sub-folders. The
>>> > root folder was set to only allow the addition of folders or pages;
>>> > did this setting restrictions through the menu Add the subfolders are
>>> > set to inherit the settings of the folder above restriction.
>>> >
>>> > After installing the new content did an update on the type of content
>>> > that can be added to root folder, with this configuration I found that
>>> > the plone would spread to the subfolders but that was not the case,
>>> > only the new folders created after the installation of new content is
>>> > that enable the addition of new content.
>>> >
>>> > If I had a way of spreading the upgrade I made restrictions on the
>>> > menu add to the root folder of subfolders will be a great help.
>>> >
>>> > Greetings and thank you all for helping
>>> >
>>> > 2008/8/20 Anand Kameswaran <akameswaran@...>:
>>> >> Was out of town for a few days...
>>> >> Go to your plone site,
>>> >> go to portal_types in the root of your Plone Site.
>>> >>
>>> >> From here click on the type you want to be able to add.  On the
>>> >> property
>>> >> sheet, there should be an Implicitly Addable check box, check it and
>>> >> save
>>> >> changed.
>>> >>
>>> >> Let me know if you still have questions.
>>> >> Cheers,
>>> >> AK
>>> >>
>>> >>
>>> >> On 8/14/08, Allyson Alves <allysonalves@...> wrote:
>>> >>>
>>> >>> Hello guys
>>> >>>
>>> >>> is not clear to me where I can make this setting in ZMI, you could
>>> >>> help me indicating the path?
>>> >>>
>>> >>> Thanks so much
>>> >>>
>>> >>> 2008/8/14 akameswaran <akameswaran@...>:
>>> >>> > YOu could try setting the property for the type to implicitly
>>> >>> > addable
>>> >>> > in the zmi.
>>> >>> >
>>> >>> > See if that works.
>>> >>> >
>>> >>> >
>>> >>> > On Aug 13, 5:43 pm, "Allyson Alves" <allysonal...@...> wrote:
>>> >>> >> Hello guys
>>> >>> >>
>>> >>> >> I created a new type of content for the plone using argouml and
>>> >>> >> archgenxml. After installation of this product I updated the list
>>> >>> >> of
>>> >>> >> restrictions on type of content that could be added in a folder in
>>> >>> >> the
>>> >>> >> menu Add the problem and that as I enter the site plone with the
>>> >>> >> profile of the site administrator Add me the menu shows the types
>>> >>> >> of
>>> >>> >> restrict content that after installing the above product, but as I
>>> >>> >> enter with the profile of a user who has rights in that folder
>>> >>> >> through
>>> >>> >> sharing of rights in the folder, the menu Add does not show the new
>>> >>> >> content that I have just installed. I hope I have been clear! How
>>> >>> >> can
>>> >>> >> I solve this small problem?
>>> >>> >>
>>> >>> >> Thanks so much
>>> >>> >>
>>> >>> >> --
>>> >>> >> Allyson Roberto Alves Cavalcanti
>>> >>> >> South America - Brazil
>>> >>> >> 55-83-8858-5419
>>> >>> >>
>>> >>> >>
>>> >>> >>
>>> >>> >> -------------------------------------------------------------------------
>>> >>> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> >>> >> challenge
>>> >>> >> Build the coolest Linux based applications with Moblin SDK & win
>>> >>> >> great
>>> >>> >> prizes
>>> >>> >> Grand prize is a trip for two to an Open Source event anywhere in
>>> >>> >> the
>>> >>> >> worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> >>> >> _______________________________________________
>>> >>> >> Plone-Users mailing list
>>> >>> >>
>>> >>> >>
>>> >>> >> Plone-Us...@...://lists.sourceforge.net/lists/listinfo/plone-users
>>> >>> >
>>> >>> >
>>> >>> >
>>> >>> > -------------------------------------------------------------------------
>>> >>> > This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> >>> > challenge
>>> >>> > Build the coolest Linux based applications with Moblin SDK & win
>>> >>> > great
>>> >>> > prizes
>>> >>> > Grand prize is a trip for two to an Open Source event anywhere in
>>> >>> > the
>>> >>> > world
>>> >>> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> >>> > _______________________________________________
>>> >>> > Plone-Users mailing list
>>> >>> > Plone-Users@...
>>> >>> > https://lists.sourceforge.net/lists/listinfo/plone-users
>>> >>> >
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> Allyson Roberto Alves Cavalcanti
>>> >>> South America - Brazil
>>> >>> 55-83-8858-5419
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Allyson Roberto Alves Cavalcanti
>>> > South America - Brazil
>>> > 55-83-8858-5419
>>> >
>>>
>>>
>>>
>>> --
>>> Allyson Roberto Alves Cavalcanti
>>> South America - Brazil
>>> 55-83-8858-5419
>>
>>
>
>
>
> --
> Allyson Roberto Alves Cavalcanti
> South America - Brazil
> 55-83-8858-5419
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Plone-Users mailing list
> Plone-Users@...
> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>
>



--
Allyson Roberto Alves Cavalcanti
South America - Brazil
55-83-8858-5419

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users