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

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


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 <cwb-bounces at sslmit.unibo.it> On Behalf Of wzzhang at shisu.edu.cn
Sent: Monday, October 23, 2023 12:48 AM
To: cwb <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>
To: Open source development of the Corpus WorkBench
<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>
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 <cwb-bounces at sslmit.unibo.it> On Behalf Of wzzhang at shisu.edu.cn
Sent: Sunday, October 22, 2023 11:44 AM
To: cwb <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-0001.html>


More information about the CWB mailing list