Re: [xwiki-users] Panel Wizard - permissions

2011-05-06 Thread Elsa Marks
Hi...

anyone can help me with this question :


I have created an editor user and a student user.
I want to modify the right panel . For example, I want to remove the quick
links panel to the student user but not to the editor.
Is is possible to do it  ?
Thanks.


2011/5/2 Elsa Marks 

> Hi
>
> I have created an editor user and a student user.
> I want to modify the left panel . For example, I want to remove the quick
> links panel to the student user but not to the editor.
>
> Is is possible to do it  ?
>
> Thanks.
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki.war + JBoss AS6 + MySQL

2011-05-06 Thread andyp
Hi Sergiu,

I still receive an error in deployment but I feel we're getting closer. 
Here's an update of the changes I've made and the error I now receive:

==
In bin\run.conf.bat (if you're on windows) you should search for the 
line setting Xms and MaxPermSize, and replace it with: 

set "JAVA_OPTS=-Xms512M -Xmx2048M -XX:MaxPermSize=512M"
==

I am using Linux so amended the JAVA_OPTS variable as you suggested within
bin/run.conf.

==
>  
>      org.xwiki:archive=xwiki.war 
>  

This is wrong, the server manages to start up because the jboss-web.xml 
file is invalid, so it won't even try to start xwiki.war 

Actually, since there is no real class conflict, the classloader 
configuration is not important, you can remove that part completely. 
==

Like you said, this makes no difference so I have removed this section
completely.  It now look like:




jdbc/XWikiDS
javax.sql.DataSource
java:/XWikiDS



==
There is another real error that occurs, and it's caused by a bad jar 
file. You must solve it manually: 

- locate WEB-INF/jaxb-xjc-2.1.8.jar 
- delete the 1.0 directory from it (for example you can extract, delete 
and repack the jar) 
==

Here I extracted the JAR, removed the “1.0” directory and repacked the JAR
as follows:

jar xf jaxb-xjc-2.1.8.jar
rm -vRf 1.0/
jar cvf jaxb-xjc-2.1.8.jar ./*

==
Right now I don't get any more class loading errors, but I still have an 
error about the missing data source, maybe I didn't configure it correctly: 
==

Yeah, looks like I setup the data source wrong – the jndi name within
jboss-web.xml should have been “java:/XWiki”, not “java:jdbc/XWikiDS”.

Now the JBoss server starts (given enough time) but XWiki fails with the
first real error being:

13:20:58,486 INFO  [TomcatDeployment] deploy, ctxPath=/
13:21:54,457 INFO  [TomcatDeployment] deploy, ctxPath=/xwiki
13:21:54,657 ERROR [MbeansDescriptorsDOMSource] Error reading descriptors :
java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to
javax.xml.parsers.DocumentBuilderFactory
at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123)
[:1.6.0_24]
at org.apache.tomcat.util.DomUtil.readXml(DomUtil.java:242)
[:6.0.0.Final]
at
org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDOMSource.execute(MbeansDescriptorsDOMSource.java:86)
[:6.0.0.Final]
at
org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDOMSource.loadDescriptors(MbeansDescriptorsDOMSource.java:76)
[:6.0.0.Final]
at org.apache.tomcat.util.modeler.Registry.load(Registry.java:753)
[:6.0.0.Final]

.
.
.
Please see  http://xwiki.475771.n2.nabble.com/file/n6337659/jboss_error.txt
here  for the full startup log.  Thanks again for all the help here.

Cheers,
Andy

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-war-JBoss-AS6-MySQL-tp6309076p6337659.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] skin customization

2011-05-06 Thread Vincent Massol

On May 6, 2011, at 12:02 PM, Yannick Dewilde wrote:

> Thanks Vincent,
> 
> I've upgraded the "DefaultSkin" doc via "Upgraded xwiki to version 3.0-rc-1"
> and I think it has worked, unless you did something on your side...
> 
> Thanks for your support!

Glad you that you fixed it. Maybe you had changed something in the DefaultSkin 
page?

I haven't done anything on my side.

Thanks
-Vincent

> 
> Yannick
> 
> 
> 
> 2011/5/6 Vincent Massol 
> 
>> FTR Yannick is referring to a wiki on myxwiki.org.
>> 
>> See below
>> 
>> On May 6, 2011, at 10:48 AM, Yannick Dewilde wrote:
>> 
>>> Hi,
>>> 
>>> Thanks again for Xwiki, it is very appreciated here
>>> 
>>> I can not customize the skin anymore because the button "customize" has
>>> disapeared from the administration>presentation section, just like the
>>> logo...
>> 
>> I can see the customize button on
>> http://bipt.myxwiki.org/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Presentation
>> 
>> As for the logo you're using the default color theme which has the default
>> xwiki logo. You can click on the customize button for the color theme on the
>> same page to customize the logo.
>> 
>> Thanks
>> -Vincent
>> 
>>> Could you help me? Because I am lost
>>> 
>>> Kind regards,
>>> 
>>> Yannick
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] SSO and LDAP in 3.0

2011-05-06 Thread lpaquet
I'm trying to implement SSO with xwiki using apache mod_auth_sspi and
SSOLdapAuthenicationImpl written in
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication. 

However the ldap call rejects me because of the password (we don't need bind
however in this case, just information on the user connected by auth_sspi): 

ldapAuthenticate(login, "", context);.

A ldap static user is used in xwiki.cfg.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/SSO-and-LDAP-in-3-0-tp6337443p6337443.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] skin customization

2011-05-06 Thread Yannick Dewilde
Thanks Vincent,

I've upgraded the "DefaultSkin" doc via "Upgraded xwiki to version 3.0-rc-1"
and I think it has worked, unless you did something on your side...

Thanks for your support!

Yannick



2011/5/6 Vincent Massol 

> FTR Yannick is referring to a wiki on myxwiki.org.
>
> See below
>
> On May 6, 2011, at 10:48 AM, Yannick Dewilde wrote:
>
> > Hi,
> >
> > Thanks again for Xwiki, it is very appreciated here
> >
> > I can not customize the skin anymore because the button "customize" has
> > disapeared from the administration>presentation section, just like the
> > logo...
>
> I can see the customize button on
> http://bipt.myxwiki.org/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Presentation
>
> As for the logo you're using the default color theme which has the default
> xwiki logo. You can click on the customize button for the color theme on the
> same page to customize the logo.
>
> Thanks
> -Vincent
>
> > Could you help me? Because I am lost
> >
> > Kind regards,
> >
> > Yannick
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] skin customization

2011-05-06 Thread Vincent Massol
FTR Yannick is referring to a wiki on myxwiki.org.

See below

On May 6, 2011, at 10:48 AM, Yannick Dewilde wrote:

> Hi,
> 
> Thanks again for Xwiki, it is very appreciated here
> 
> I can not customize the skin anymore because the button "customize" has
> disapeared from the administration>presentation section, just like the
> logo...

I can see the customize button on 
http://bipt.myxwiki.org/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Presentation

As for the logo you're using the default color theme which has the default 
xwiki logo. You can click on the customize button for the color theme on the 
same page to customize the logo.

Thanks
-Vincent

> Could you help me? Because I am lost
> 
> Kind regards,
> 
> Yannick
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] skin customization

2011-05-06 Thread Yannick Dewilde
Hi,

Thanks again for Xwiki, it is very appreciated here

I can not customize the skin anymore because the button "customize" has
disapeared from the administration>presentation section, just like the
logo...

Could you help me? Because I am lost

Kind regards,

Yannick
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users