question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tokens are not writable except for superusers

See original GitHub issue

Environment

  • Python version: 3.7.3
  • Nautobot version: nautobot-device-onboarding==1.0.1
  • nautobot-golden-config: develop
  • nautobot-plugin-nornir: 0.9.0

Steps to Reproduce

  1. Create a normal active user
  2. Add token to user with ‘write enabled’ checked
  3. Set group permission to all permissions (all items and add, delete, change etc)
  4. Try to update via the API (I use the nautobot ansible collection)
  5. Not possible to update, message:

Device Updated

"msg": "{\"detail\":\"You do not have permission to perform this action.\"}"}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
itdependsnetworkscommented, May 11, 2021

My mistake, I thought you were talking about a git token. you can safely disregard my statement 😃

1reaction
dgarroscommented, May 17, 2021

@bsmeding it looks like you have both a Group and an Object Permission named Network Developers but they are not associated with each other.

This screenshot clearly shows that the Object Permisson Network developers is not associated with any user or group image

Please can you try to add the group Network Developers to the Object Permission Network Developers, you can do that in the object permission edit view

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ubuntu Server unable to change passwords - linux
I have been searching for a while. This is not an issue with / needed to be mounted as r/w. The permissions on...
Read more >
OpenStack Docs: Troubleshoot the Identity service
Your signing directory is not writable. Use the chmod command to change its permissions so that the service (POSIX) user can write to...
Read more >
Common Issues
Error message: Image Source not readable. This usually means that the temporary directory is not writable by the web server. Check the permissions...
Read more >
Can not login as superuser in DRF - django
It happens because of UserManager. Default Django UserManager hashes password when creates superuser. When you try to create normal user, ...
Read more >
Move all configuration files into user-editable folders - plasticscm
To change them you need superuser privileges. ... on the mac and it seems it's stil trying to write files into non-writable directories....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found