On Thu, Aug 1, 2013 at 1:46 PM, Eduard Moraru <enygma2002(a)gmail.com> wrote:
  Hi,
 When you are mixing subwikis with workspaces into a single 'wiki' notion,
 you are creating problems for Admins that want to have a mixed setup (both
 workspaces and subwikis). They might want to let regular users create
 workspaces but allow only admins to create subwikis.
 Regarding your proposals, I'd be +1 for a createWiki right (B). However,
 there are 2 problems here:
 1) Lack of consistency with the other rights since we don`t have any
 createSpace/createDocument rights now. Would  be nice though to have CRUD
 rights for each element in XWiki's model (wiki, space, document, class,
 object), but that's a different topic.
 2) Same problem as above, there is no distinction between wiki and
 workspace and no way to allow one over the other.
 Proposal A does not help much and Proposal B
 
Correction... I meant Proposal C here.
Thanks,
Eduard
  would be just a hack for a first implementation (not
for the long run).
 In the current implementation, a way to limit workspace creation is to
 assign specific 'view' rights to the WorkspaceManager.CreateNewWorkspace
 document. Wiki creation is only available to admins, but if we remove that
 limitation from the wiki-manager-api java code, then the same thing can be
 done as for workspaces.
 Thanks,
 Eduard
 On Wed, Jul 31, 2013 at 6:50 PM, Guillaume "Louis-Marie" Delhumeau <
 gdelhumeau(a)xwiki.com> wrote:
  Since we are integrating Workspaces to XE, I
propose to add a new
 parameter
 to set who has the right to create a new subwiki.
 --------------
 Proposal A:
 --------------
 We had a new item in the administration menu. This item is used to know
 what level of right is needed to create a new wiki.
 Examples:
 * any user who have the 'edit' rights on the main wiki also has the right
 to create new wikis
 * any user who have the 'admin' rights on the main wiki also has the right
 to create new wikis
 --------------
 Proposal B:
 --------------
 We create a new right (since we can thanks to Denis) called "SubWiki
 creation right", and this right is needed to create a new subwiki. Then we
 can add it to XWikiAllGroup or XWikiAdminGroup.
 --------------
 Proposal C:
 --------------
 We create a new group called 'XWikiAllowSubWikiCreationGroup', and
 everybody who is on this group can create new wikis.
 ----
 WDYT?
 Thanks,
 Louis-Marie
 _______________________________________________
 devs mailing list
 devs(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/devs