On Oct 28, 2009, at 12:10 PM, Thomas Mortagne wrote:

> On Wed, Oct 28, 2009 at 11:29, Vincent Massol <[email protected]>  
> wrote:
>> Ok it seems this was done by Sergiu in rev 18828 for issue
>> "XAPANELS-77: Improve class and object editor panels"
>>
>> The AddObject panel was modified to have this check:
>>
>> #foreach ($classname in $xwiki.classList)
>>   #if($!xwiki.hasAccessLevel("edit", $classname))
>
> That does not make sense, a user should be able to add an object even
> if he can't modify the class.

I've created http://jira.xwiki.org/jira/browse/XAPANELS-95

Waiting for Sergiu's input. He must have had some reason for doing this.

Thanks
-Vincent

>> ...
>>
>> Thus only Objects for which the user has edit rights on the Class  
>> name
>> are listed.
>>
>> Is that what we want? It doesn't sound quite right to me.
>>
>> Thanks
>> -Vincent
>>
>> On Oct 27, 2009, at 9:18 PM, Vincent Massol wrote:
>>
>>> Hi,
>>>
>>> I've just noticed on trunk that now non admin users can only see a
>>> few classes in the object editor: some Blog classes and the Panel
>>> Class.
>>>
>>> Is that normal? I don't remember when we decided this.
>>>
>>> Thanks
>>> -Vincent
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to