[CWB] How to grant create corpus privilege to a group or a user?

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon Oct 23 14:14:23 CEST 2023


Readability improves drastically if,  as I suggested, you turn off digest mode.


  1.  Go here: http://liste.sslmit.unibo.it/mailman/options/cwb


  1.  Enter your email and password. then you'll see your mailing list config.


  1.  Scroll down to the grey table of options. the second option  is "Set digest mode". Set it to OFF. Press the "Submit my Changes" button at the bottom of the page.

Regular posters should generally not use digest mode off. It is suited for members who only or mostly read messages, rather than post.

best

Andrew.

From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of wzzhang at shisu.edu.cn
Sent: Monday, October 23, 2023 12:12 PM
To: cwb <cwb at sslmit.unibo.it>
Subject: Re: How to grant create corpus privilege to a group or a user?

Sorry, I ignored the $user_corpora_enabled tip. The readability of our mailing list is really not good. :-)
Thank you @Hardie, it works now.

________________________________
Vincent Zhang

From: cwb-request<mailto:cwb-request at sslmit.unibo.it>
Date: 2023-10-23 17:05
To: cwb<mailto:cwb at sslmit.unibo.it>
Subject: CWB Digest, Vol 199, Issue 18
Send CWB mailing list submissions to
cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>

To subscribe or unsubscribe via the World Wide Web, visit
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
or, via email, send a message with subject or body 'help' to
cwb-request at sslmit.unibo.it<mailto:cwb-request at sslmit.unibo.it>

You can reach the person managing the list at
cwb-owner at sslmit.unibo.it<mailto:cwb-owner at sslmit.unibo.it>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CWB digest..."


Today's Topics:

   1. Re: How to grant create corpus privilege to a group or a
      user? (Hardie, Andrew)


----------------------------------------------------------------------

Message: 1
Date: Mon, 23 Oct 2023 09:04:55 +0000
From: "Hardie, Andrew" <a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>>
To: Open source development of the Corpus WorkBench
<cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>>
Subject: Re: [CWB] How to grant create corpus privilege to a group or
a user?
Message-ID:
<LO4P265MB34852D503F8E6238A7F47019CBD8A at LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM<mailto:LO4P265MB34852D503F8E6238A7F47019CBD8A at LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM>>
Content-Type: text/plain; charset="utf-8"

So, this clarifies that you haven?t actually switched on the user-corpus system with the right configuration option, as I mentioned here:

http://liste.sslmit.unibo.it/pipermail/cwb/2023-October/004345.html


?One thing to check is whether or not you have actually switched the system on with the config variable $user_corpora_enabled.?

When you switch it on, the install-corpus options will appear.

best

Andrew.

From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> <cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it>> On Behalf Of wzzhang at shisu.edu.cn<mailto:wzzhang at shisu.edu.cn>
Sent: Monday, October 23, 2023 12:48 AM
To: cwb <cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>>
Subject: [External] Re: [CWB] CWB Digest, Vol 199, Issue 16

@Hardie, On a user's homepage, there is no "Install a new corpus" link, the screenshot is as below:


________________________________
??? Zhang Wenzheng

??????? ??????
Information Technology Center, Shanghai International Studies University
?????????1550? ?????? J507? 201620
Room J507, Library building, No. 1550, Road Wenxiang, District Songjiang, Shanghai, China
Tel: (86)21-67701909

From: cwb-request<mailto:cwb-request at sslmit.unibo.it>
Date: 2023-10-23 00:25
To: cwb<mailto:cwb at sslmit.unibo.it>
Subject: CWB Digest, Vol 199, Issue 16

----------------------------------------------------------------------

Message: 1
Date: Sun, 22 Oct 2023 16:25:24 +0000
From: "Hardie, Andrew" <a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>>
To: Open source development of the Corpus WorkBench
<cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>>
Subject: Re: [CWB] How to grant create corpus privilege to a group or
a user?
Message-ID:
<LO4P265MB348500A244F34DEEEF10FEE6CBD9A at LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM<mailto:LO4P265MB348500A244F34DEEEF10FEE6CBD9A at LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM>>
Content-Type: text/plain; charset="us-ascii"

That's because you are sending them to the admin interface, but they are not admins. So that is the wrong place.

You need to direct them to the install corpus interface for ordinary users, which is in the user homepage; select "Install a new corpus" from under "your files and corpora".

best

Andrew.

(PS once again, please try to reply to the right email thread. Also I suggest you turn digest mode OFF.  We rely on threading to organise the archives.)


From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> <cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it>> On Behalf Of wzzhang at shisu.edu.cn<mailto:wzzhang at shisu.edu.cn>
Sent: Sunday, October 22, 2023 11:44 AM
To: cwb <cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>>
Subject: Re: [CWB] CWB Digest, Vol 199, Issue 14

@Hardie, thank you for your reply.
I had granted all the built-in 8 privileges to a group "my_students" as the screenshot below:

However, when a user of the group "my_students" logged  in and  accesse the "install new corpus" page: /adm/index.php?ui=installCorpus , it showed errors as below:
[cid:image001.jpg at 01DA050C.BCE8A2C0]
________________________________
Vincent Zhang


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20231023/45e4db93/attachment.html>

------------------------------

_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it<mailto:CWB at sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb


End of CWB Digest, Vol 199, Issue 18
************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20231023/b8c6789d/attachment-0001.html>


More information about the CWB mailing list