[CWB] CWB Digest, Vol 199, Issue 19

wzzhang at shisu.edu.cn wzzhang at shisu.edu.cn
Tue Oct 24 08:10:54 CEST 2023


@Hardie, Sorry to tell you again I have new problems for a non-admin user to create a corpus. A user in my privileged group my_students logins in, goes to /usr/index.php?ui=installCorpus, it says as the screenshot below:

I then login with the admin user, goes to /adm/index.php?ui=privilegeAdmin, there is no options to select as installer plugin. Is there also something like $user_corpora_enabled to configure in config.php file? I checked the official PDF documentation, it seems no related description.


Vincent Zhang
 
From: cwb-request
Date: 2023-10-23 20:14
To: cwb
Subject: CWB Digest, Vol 199, Issue 19
Send CWB mailing list submissions to
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
 
You can reach the person managing the list at
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: CWB Digest, Vol 199, Issue 18 (wzzhang at shisu.edu.cn)
   2. Re: How to grant create corpus privilege to a group or a
      user? (Hardie, Andrew)
 
 
----------------------------------------------------------------------
 
Message: 1
Date: Mon, 23 Oct 2023 19:12:16 +0800
From: "wzzhang at shisu.edu.cn" <wzzhang at shisu.edu.cn>
To: cwb <cwb at sslmit.unibo.it>
Subject: Re: [CWB] CWB Digest, Vol 199, Issue 18
Message-ID: <202310231912158428374 at shisu.edu.cn>
Content-Type: text/plain; charset="iso-8859-1"
 
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
Date: 2023-10-23 17:05
To: cwb
Subject: CWB Digest, Vol 199, Issue 18
Send CWB mailing list submissions to
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
You can reach the person managing the list at
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>
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:
<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 <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.html>
------------------------------
_______________________________________________
CWB mailing list
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/565ede97/attachment-0001.html>
 
------------------------------
 
Message: 2
Date: Mon, 23 Oct 2023 12:14:23 +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:
<LO4P265MB34859B07898D656C8683D76ECBD8A at LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM>
Content-Type: text/plain; charset="us-ascii"
 
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.html>
 
------------------------------
 
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
 
 
End of CWB Digest, Vol 199, Issue 19
************************************
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20231024/5b6c6bd7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Catch5D8C.jpg
Type: image/jpeg
Size: 615915 bytes
Desc: not available
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20231024/5b6c6bd7/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CatchCDA3.jpg
Type: image/jpeg
Size: 745365 bytes
Desc: not available
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20231024/5b6c6bd7/attachment-0003.jpg>


More information about the CWB mailing list