On Aug 1, 2013, at 6:19 PM, Denis Gervalle <dgl(a)softec.lu> wrote:
On Thu, Aug 1, 2013 at 5:07 PM, Vincent Massol
<vincent(a)massol.net> wrote:
On Aug 1, 2013, at 4:25 PM, Guillaume Lerouge <guillaume(a)xwiki.com> wrote:
I agree with Edy. In the "wiki farm"
case, you want to restrict subwiki
creation to admins.
could you explain why?
In the "workspaces" case, you want any
user to be able
to create a workspace.
Personally I don't see any difference. With Caty's proposal D (and B),
there's only 1 concept too so making a difference doesn't make any sense.
The only different is that for the "farm" use case you allow local users
and I don't see why allowing local users should make a difference in who's
allowed to create a subwiki or not.
Basically, what they said is that you may want to allow more users to
create wiki without local users. So, does is means two different rights ?
On right to create any kind of subwikis, and one right to create only
subwikis without local users (workspace case).
Do you see the difference now ?
The only use case I can see would be if the admin of the wiki doesn't want to fragment
its use base and thus not allow new users to be created on subwikis.
But that should not be a right to create a subwiki (that's a different right and we
need that one for sure). It should be a right specific to local user creation.
Thanks
-Vincent
> Thanks
> -Vincent
>
>> I don't have feedback about the best option to handle this from a
> technical
>> point of view.
>>
>> We have not seen the end of this debate...
>>
>> Guillaume
>>
>> On Thu, Aug 1, 2013 at 12: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 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