Tomenz
(Tomenz)
May 25, 2021, 9:36pm
1
I looked myself out, from editing my gateway, and to delete ist, by disable all rights from the owner of the gateway. How can i delete the gateway?
Message i get, wenn i klick on the gateway line:
Forbidden
Insufficient rights for gateway eui-b827ebffff24093b@ttn
htdvisser
(Hylke Visser)
May 27, 2021, 1:04pm
2
I just restored your rights on your gateway.
We have an open issue on GitHub somewhere about making it more difficult to shoot yourself in the foot like this.
1 Like
descartes
(Nick McCloud)
Split this topic
May 27, 2021, 1:55pm
3
2 posts were split to a new topic: Can I still login to v2 console?
Tomenz
(Tomenz)
May 27, 2021, 3:49pm
5
Thank you very much! I deleted the wrong gateway right away.
Tomenz
fhe_163
(Fhe 163)
June 1, 2021, 5:54am
6
Also, i also encounter this issue,can you do me a favour to restore or delete it, thank you
Insufficient rights for gateway gateway-esp32@ttn
j_daubert
(J Daubert)
June 2, 2021, 10:08am
7
I also encouter this issue, can you please restore my rights?
Insufficient rights for gateway `retestgtw@ttn
Thank you.
Jeff-UK
(Jeff Uk)
June 2, 2021, 10:52am
8
Moderator Comment: Thread title amended/corrected
htdvisser
(Hylke Visser)
June 8, 2021, 8:00am
9
Hopefully this brand new warning will make future users think twice before revoking their own rights to their gateways:
1 Like
descartes
(Nick McCloud)
June 8, 2021, 8:02am
10
Funny guy, you don’t hang out here much do you!
htdvisser
(Hylke Visser)
June 8, 2021, 8:23am
11
I’m sure many will think twice and still shoot themselves in the foot, but it’s better than nothing, right?
descartes
(Nick McCloud)
June 8, 2021, 9:13am
12
Except they don’t read it, shoot themselves in the foot and then come on here and ask how to fix it.
Search for topics on v2 gateway deletions - only when pushed does the OP admit to having clicked on the dire warning in the console. And even then it’s “not their fault” and expect someone here to dip in to the database to fix the problem.
I’ll look again at the flow as I’m not sure how the user or you or the database distinguishes between the owner of an object and the other collaborators. But if there is only one collaborator entry for a gateway that must be the owner and perhaps not allowing any edit of rights would be appropriate.
1 Like
JulySt
(July)
July 26, 2021, 12:33am
13
Hey guys, I’m really really sorry I locked myself out for gateway
teutonen-gateway-v3
I was the only owner of this gateway and now I only can see the overview.
How can I fix it on my own or can you please restore my rights?
Thanks in advance for your help.
descartes
(Nick McCloud)
July 26, 2021, 9:22am
14
Was this by using the permissions for your account via the API keys?
Or some other means?
No one here has access to the databases. Indeed, access even for TTI staff is heavily restricted and complicated so we’ll need to figure out the exact details to see if there are other solutions.
htdvisser
(Hylke Visser)
July 26, 2021, 9:29am
15
@descartes network admins can manage collaborator rights from the Console nowadays, we don’t need direct database access for that anymore.
@JulySt , it indeed looks like you revoked your own rights. We restored those for you.
descartes
(Nick McCloud)
July 26, 2021, 9:32am
16
Don’t think the moderators got that memo - good to know - who do we “page” ie tag to get this actioned?
And are we likely to have the initial API key locked from having permissions changed?
htdvisser
(Hylke Visser)
July 29, 2021, 3:08pm
18
There is no such thing as an “initial API key”, so we can’t do it for API keys.
However, for collaborators I just submitted Prevent removing last _ALL right from entity collaborator by htdvisser · Pull Request #4464 · TheThingsNetwork/lorawan-stack · GitHub that should prevent users from locking themselves out.