greenlight icon indicating copy to clipboard operation
greenlight copied to clipboard

Can't give permission "create room" to default role "user"

Open musyne opened this issue 3 years ago • 6 comments

bbb-role Is it normal or a bug with my install?

It works fine for other roles.

musyne avatar Jan 20 '22 15:01 musyne

Hi @musyne

Could you please provide more information? I kindly ask you if possible to answer these questions:

  1. Are you using an official greenlight version or a forked one?
  2. What version are you using?
  3. Does this happen rarely, frequently or always?
  4. What role are you using when you attempted to update the User role permissions?
  5. After the role update do you observe any alert banner? If yes then could you please tell us what it says?
  6. Could you provide the logs when the event occurred (log/production.log, browser logs or any thing that you believe it could help get into your application context)?

Regards. Amir,

KH-Amir-TN avatar Feb 07 '22 20:02 KH-Amir-TN

1-Official 2-2.11.1 3-Always 4-Default "User" role 5-See GIF above. No alert, the toggle just comes back to the OFF position 6-This is what I get in the log: 2022-02-08 15:20:49 +0000 - INFO: [beb6ac2a-05df-433d-a4f6-60fcb3a6b1e1] [217.62.187.176] method=GET path=/b/ale-rcm-lpw-2bd format=html controller=RoomsController action=show status=200 duration=203.14 view=27.51 db=13.34 host=greenlight 2022-02-08 15:20:51 +0000 - INFO: [f0388c44-7682-42f8-b42e-fbd740521796] [217.62.187.176] method=GET path=/b/admins format=html controller=AdminsController action=index status=200 duration=71.45 view=55.71 db=8.76 host=greenlight 2022-02-08 15:20:52 +0000 - INFO: [e0b62a10-012a-4ea2-b5bf-89d17c209b69] [217.62.187.176] method=GET path=/b/admins/roles format=html controller=AdminsController action=roles status=200 duration=28.82 view=17.99 db=2.58 host=greenlight 2022-02-08 15:20:55 +0000 - INFO: [a6baa947-a783-4dec-889f-dcdce5e2de3e] [217.62.187.176] method=POST path=/b/admins/role/1 format=js controller=AdminsController action=update_role status=200 duration=21.81 view=0.00 db=6.25 location=https://bbb.aflahaye.nl/b/admins/roles host=greenlight 2022-02-08 15:20:55 +0000 - INFO: [6108735f-39e5-41c7-9f2c-755106516b0d] [217.62.187.176] method=GET path=/b/admins/roles format=html controller=AdminsController action=roles status=200 duration=61.45 view=25.63 db=8.09 host=greenlight

Can anyone with a working greenlight installation confirm if this toggle can normally stay ON for the default role "User"? I have no problem turning it ON for manually created roles.

musyne avatar Feb 08 '22 15:02 musyne

Hi @musyne

The default setting for "Can Create Room" is ON - I confirm this toggle can normally stay ON.

Would you please share the logs from your Rails application?

Thank you.

scouillard avatar Mar 10 '22 15:03 scouillard

Thanks for the information. Where do I find the logs from Rails?

On 10 Mar 2022, at 16:01, Samuel Couillard @.@.>> wrote:

Hi @musynehttps://github.com/musyne

The default setting for "Can Create Room" is ON - I confirm this toggle can normally stay ON.

Would you please share the logs from your Rails application?

Thank you.

— Reply to this email directly, view it on GitHubhttps://github.com/bigbluebutton/greenlight/issues/3090#issuecomment-1064155917, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACOK7RRRI2U5J5FOPB4SVOTU7IFFHANCNFSM5MNBFOKA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

musyne avatar Mar 14 '22 15:03 musyne

Would you please post the errors logs found in ~/greenlight/log/production.log

scouillard avatar Mar 15 '22 18:03 scouillard

Here's the log. I can't see any specific error in it :(

2022-03-22 15:39:02 +0000 - INFO: [0787c7e9-c434-456f-87ca-df974c3c296d] [77.206.10.176] method=GET path=/b/ format=html controller=MainController action=index status=302 duration=142.36 view=0.00 db=36.92 location=https://bbb.aflahaye.nl/b/ale-rcm-lpw-2bd host=greenlight 2022-03-22 15:39:03 +0000 - INFO: [4576e2b3-7c95-4b4b-94c1-55ee7c0c813a] [77.206.10.176] method=GET path=/b/ale-rcm-lpw-2bd format=html controller=RoomsController action=show status=200 duration=608.20 view=513.36 db=7.30 host=greenlight 2022-03-22 15:39:08 +0000 - INFO: [7f5774e9-676b-470a-b4bd-fe8b2678aee0] [77.206.10.176] method=GET path=/b/admins format=html controller=AdminsController action=index status=200 duration=130.06 view=105.65 db=12.46 host=greenlight 2022-03-22 15:39:11 +0000 - INFO: [cf32c6e7-04a0-4b99-81b2-9bd1492630f6] [77.206.10.176] method=GET path=/b/admins/roles format=html controller=AdminsController action=roles status=200 duration=39.83 view=27.47 db=3.02 host=greenlight 2022-03-22 15:39:18 +0000 - INFO: [9d659ddf-fe83-41b8-bfe0-e9847f74455f] [77.206.10.176] method=POST path=/b/admins/role/1 format=js controller=AdminsController action=update_role status=200 duration=29.70 view=0.00 db=7.07 location=https://bbb.aflahaye.nl/b/admins/roles host=greenlight 2022-03-22 15:39:18 +0000 - INFO: [fcb2469d-4d28-4168-bd1b-2457a740905e] [77.206.10.176] method=GET path=/b/admins/roles format=html controller=AdminsController action=roles status=200 duration=32.34 view=20.49 db=2.90 host=greenlight 2022-03-22 15:40:44 +0000 - INFO: [5368d1f7-1ab9-42a3-be2d-93ac19eede7b] [181.199.154.5] method=GET path=/b/admins/roles format=html controller=AdminsController action=roles status=302 duration=6.05 view=0.00 db=0.73 location=https://bbb.aflahaye.nl/b/signin host=greenlight 2022-03-22 15:40:46 +0000 - INFO: [b52abbb9-e367-46a9-86f7-9214c4fdafdd] [181.199.154.5] method=GET path=/b/signin format=html controller=SessionsController action=signin status=200 duration=19.89 view=14.54 db=0.75 host=greenlight 2022-03-22 15:40:51 +0000 - INFO: [f223d4d0-d0c5-46ae-9431-484aea69f204] [94.129.254.11] method=GET path=/b/ale-rcm-lpw-2bd format=html controller=RoomsController action=show status=200 duration=110.09 view=22.99 db=1.85 host=greenlight

musyne avatar Mar 22 '22 15:03 musyne

Please note: Greenlight v3 has been released. With this new version, many of the issues and bugs that were present in v2 have been resolved.

As a result, we will no longer be providing updates or support for v2 (except for major security issues), and we will be closing any outstanding bug reports / feature requests related to v2. While we understand that some of you may still be using v2, we highly encourage you to upgrade to v3 to take advantage of the improved features and stability. If your request/bug still applies to v3, please open a new issue for it

farhatahmad avatar Feb 17 '23 15:02 farhatahmad