pitaj / nodebb-plugin-calendar

Fully-featured calendar plugin for NodeBB
42 stars 34 forks source link

Not enough privileges #69

Closed SiZiGee closed 7 years ago

SiZiGee commented 7 years ago

image

so far everything works... besides being able to click on yes/no/maybe...

what am I missing?

pitaj commented 7 years ago

What version of NodeBB? Any errors in the NodeBB log?

SiZiGee commented 7 years ago

I got the latest version (v1.4.6) and my logging seems all screwed up, but that is a separate issue (which looks like won't be helping this issue)

at Pool.<anonymous> (/opt/nodebb/node_modules/mongodb-core/lib/topologies/server.js:327:35)
at emitOne (events.js:96:13)
at Pool.emit (events.js:188:7)
at Connection.<anonymous> (/opt/nodebb/node_modules/mongodb-core/lib/connection/pool.js:274:12)
at Connection.g (events.js:291:16)
at emitTwo (events.js:106:13)
at Connection.emit (events.js:191:7)
at Socket.<anonymous> (/opt/nodebb/node_modules/mongodb-core/lib/connection/connection.js:177:49)
at Socket.g (events.js:291:16)
at emitOne (events.js:96:13)

I am also logged in as the admin of my forum

pitaj commented 7 years ago

Um that doesn't appear to be the full error. Can you maybe grab a few more lines above that if possible?

SiZiGee commented 7 years ago

I ran ./nodebb log and clicked yes on my test event to see what it it shows... nothing else showed up

SiZiGee commented 7 years ago

Any possible guesses as to why I (as an admin) do not have enough rights to respond to a calendar event?

SiZiGee commented 7 years ago

No update?

pitaj commented 7 years ago

Sorry man I haven't had time to look into this yet.

SiZiGee commented 7 years ago

not a problem. But what do you think the problem could be? Even a rough guess, as to where to look might help. Its a useful plugin, but I am keeping it disabled for now and troubleshooting where I can

pitaj commented 7 years ago

I think it's related to an invalid privilege name but I'm unsure.

SiZiGee commented 7 years ago

I will try with a normal user account and see what happens

SiZiGee commented 7 years ago

interesting... with a normal user, it doesn't load, just hangs there image

pitaj commented 7 years ago

It's probably crashing NodeBB of you check in your logs.

SiZiGee commented 7 years ago

I did ./nodebb /build (its getting annoying now, my other forum I don't have to do this.) and I can see it as the normal user, but I cant create any calendar appointments (button is missing) as the user and I cannot accept/decline/maybe on the test one (same error)

SiZiGee commented 7 years ago

so I can count this as broken in my instance and remove it from my forum?

seeing as you closed this issue

pitaj commented 7 years ago

There are new versions released now. Check here for more information: https://community.nodebb.org/post/60214

pitaj commented 7 years ago

If that doesn't resolve your issue then I will reopen this issue.

SiZiGee commented 7 years ago

okey dokey. I will install the latest version. Is it fine to update it? or should I rather remove the current version and then install the latest one?

pitaj commented 7 years ago

Just update it. Removing and installing won't do anything special.

SiZiGee commented 7 years ago

Awesome. that worked.

Thanks for that :)