[xwiki-users] Local store
Using CentOs/Tomcat6/MySQL: So, I'm trying to perform the settings described here: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystema... Changed the xwiki.cfg and xwiki.properties as instructed (environment.permanentDirectory=/var/local/xwiki/). Even changed owner to tomcat user and permissions to 775 just to be sure. Restarted the whole thing. Still, the new attachments don't end up in the proper directory. What did I miss?
On Thu, Feb 20, 2014 at 9:32 AM, Aye Jaye <[email protected]> wrote:
Using CentOs/Tomcat6/MySQL:
So, I'm trying to perform the settings described here:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystema... Changed the xwiki.cfg and xwiki.properties as instructed (environment.permanentDirectory=/var/local/xwiki/). Even changed owner to tomcat user and permissions to 775 just to be sure. Restarted the whole thing.
Still, the new attachments don't end up in the proper directory. What did I miss?
The actual part where you indicate that you want to use filesystem attachments. Look at the end of the page. environment.permanentDirectory should always be set and is not specifically related to attachment, it just indicate to various component where to store whatever they need to store.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
No sorry, I have added this to the config: xwiki.store.attachment.hint = filexwiki.store.attachment.versioning.hint = filexwiki.store.attachment.recyclebin.hint = file Sorry for not being clear.
Date: Thu, 20 Feb 2014 09:49:17 +0100> From: [email protected] To: [email protected] Subject: Re: [xwiki-users] Local store
Still, the new attachments don't end up in the proper directory. What did I miss?
The actual part where you indicate that you want to use filesystem attachments. Look at the end of the page.
Hello, My xwiki use ldap authentication on "always authentificate" xwiki. How can I attribute a defaul group on new ldap users? I want to change some top menu entry based on the user group logged in. By example, I don't want "Wiki index" or "Create Space entry" entry on top menu for my user in MyNiceGroup. Finally a friend found in xwik.com an example of some editorial group with ACL (in french) but I could not find it. any ideas? thxs for your help.
There is not really a special group containing LDAP users. You have two possibilities: * if you don't plan to create user that don't come from LDAP you can simply add a group in xwiki.users.initialGroups property in xwiki.cfg file. Each time a new XWiki user is created it will be added to this group. This is the best for performances. * user LDAP group membership, see xwiki.authentication.ldap.group_mapping property in xwiki.cfg file On Thu, Feb 20, 2014 at 11:55 AM, Pascal BASTIEN <[email protected]> wrote:
Hello,
My xwiki use ldap authentication on "always authentificate" xwiki. How can I attribute a defaul group on new ldap users?
I want to change some top menu entry based on the user group logged in. By example, I don't want "Wiki index" or "Create Space entry" entry on top menu for my user in MyNiceGroup.
Finally a friend found in xwik.com an example of some editorial group with ACL (in french) but I could not find it. any ideas?
thxs for your help. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
K Thanks you. I think I can use xwiki.users.initialGroups property for my ldap user because the first time my ldap user log on my new xwiki, a new user associate is created. Anyway, actually I'm testing ACL with some different user case like: someone are in 2 differents groups and must access at space protected by differents access rights with this 2 groups... Have you a advanced documentation about this? ________________________________ De : Thomas Mortagne <[email protected]> À : Pascal BASTIEN <[email protected]>; XWiki Users <[email protected]> Envoyé le : Vendredi 14 mars 2014 12h58 Objet : Re: [xwiki-users] Some question about ACL There is not really a special group containing LDAP users. You have two possibilities: * if you don't plan to create user that don't come from LDAP you can simply add a group in xwiki.users.initialGroups property in xwiki.cfg file. Each time a new XWiki user is created it will be added to this group. This is the best for performances. * user LDAP group membership, see xwiki.authentication.ldap.group_mapping property in xwiki.cfg file On Thu, Feb 20, 2014 at 11:55 AM, Pascal BASTIEN <[email protected]> wrote:
Hello,
My xwiki use ldap authentication on "always authentificate" xwiki. How can I attribute a defaul group on new ldap users?
Depends how advanced you need it to be but you can map LDAP "groups" (it's actually more than what is generally called groups in LDAP world) and you a few related documentation on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCas... and above xwiki.authentication.ldap.group_mapping property in xwiki.cfg itself. On Fri, Mar 14, 2014 at 2:43 PM, Pascal BASTIEN <[email protected]> wrote:
K Thanks you.
I think I can use xwiki.users.initialGroups property for my ldap user because the first time my ldap user log on my new xwiki, a new user associate is created.
Anyway, actually I'm testing ACL with some different user case like: someone are in 2 differents groups and must access at space protected by differents access rights with this 2 groups... Have you a advanced documentation about this?
________________________________ De : Thomas Mortagne <[email protected]> À : Pascal BASTIEN <[email protected]>; XWiki Users <[email protected]> Envoyé le : Vendredi 14 mars 2014 12h58 Objet : Re: [xwiki-users] Some question about ACL
There is not really a special group containing LDAP users.
You have two possibilities: * if you don't plan to create user that don't come from LDAP you can simply add a group in xwiki.users.initialGroups property in xwiki.cfg file. Each time a new XWiki user is created it will be added to this group. This is the best for performances. * user LDAP group membership, see xwiki.authentication.ldap.group_mapping property in xwiki.cfg file
On Thu, Feb 20, 2014 at 11:55 AM, Pascal BASTIEN <[email protected]> wrote:
Hello,
My xwiki use ldap authentication on "always authentificate" xwiki. How can I attribute a defaul group on new ldap users?
-- Thomas Mortagne
Yes thanks you. I already use maping ldap group in my xwiki.cfg. It was working but performence is lower (first log on is long) ________________________________ De : Thomas Mortagne <[email protected]> À : Pascal BASTIEN <[email protected]> Cc : XWiki Users <[email protected]> Envoyé le : Vendredi 14 mars 2014 15h48 Objet : Re: [xwiki-users] Some question about ACL Depends how advanced you need it to be but you can map LDAP "groups" (it's actually more than what is generally called groups in LDAP world) and you a few related documentation on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCas... and above xwiki.authentication.ldap.group_mapping property in xwiki.cfg itself. On Fri, Mar 14, 2014 at 2:43 PM, Pascal BASTIEN <[email protected]> wrote:
K Thanks you.
I think I can use xwiki.users.initialGroups property for my ldap user because the first time my ldap user log on my new xwiki, a new user associate is created.
Anyway, actually I'm testing ACL with some different user case like: someone are in 2 differents groups and must access at space protected by differents access rights with this 2 groups... Have you a advanced documentation about this?
yes, it depends mailing how much users yours groups contains since they are resolved and cached on XWiki side so that can be a bit long for very big groups the first time. It's not first log on of each users, the cache is kept for all users it's just the first time an authentication is done (and then when the cache is outdated, see xwiki.authentication.ldap.groupcache_expiration). On Fri, Mar 14, 2014 at 4:04 PM, Pascal BASTIEN <[email protected]> wrote:
Yes thanks you. I already use maping ldap group in my xwiki.cfg. It was working but performence is lower (first log on is long)
________________________________ De : Thomas Mortagne <[email protected]> À : Pascal BASTIEN <[email protected]> Cc : XWiki Users <[email protected]> Envoyé le : Vendredi 14 mars 2014 15h48
Objet : Re: [xwiki-users] Some question about ACL
Depends how advanced you need it to be but you can map LDAP "groups" (it's actually more than what is generally called groups in LDAP world) and you a few related documentation on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCas... and above xwiki.authentication.ldap.group_mapping property in xwiki.cfg itself.
On Fri, Mar 14, 2014 at 2:43 PM, Pascal BASTIEN <[email protected]> wrote:
K Thanks you.
I think I can use xwiki.users.initialGroups property for my ldap user because the first time my ldap user log on my new xwiki, a new user associate is created.
Anyway, actually I'm testing ACL with some different user case like: someone are in 2 differents groups and must access at space protected by differents access rights with this 2 groups... Have you a advanced documentation about this?
-- Thomas Mortagne
participants (3)
-
Aye Jaye -
Pascal BASTIEN -
Thomas Mortagne