Skip to content

Commit

Permalink
Update Auth_Default_Roles.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Navid200 authored Sep 9, 2024
1 parent 771027e commit 8fba09d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docs/Nightscout/Auth_Default_Roles.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ layout: GCNS
## Malfunctioning Nightscout applications
[Google Cloud Nightscout](./GoogleCloud.md) >> Malfunctioning applications

There is a Nightscout variable titled AUTH_DEFAULT_ROLES. We have set this variable to "denied" by default. See [why](./Why_Denied_Auth.md).
There is a Nightscout variable titled AUTH_DEFAULT_ROLES. By default, we have set this variable to "denied." Here’s [why](./Why_Denied_Auth.md).

#### **Malfunctioning apps**
There are apps that will not function with the permission set to denied. An example is AutotuneWeb.
You can change the setting to readable to allow such an app to function. However, your Nightscout cost may increase then.
A better solution would be to contact the app developer and ask them to modify it such that it can use a token to read. Then, the app will be able to function without causing the Nightscout traffic to unnecessarily increase.
Some apps, such as AutotuneWeb, will not function if the permission is set to "denied." You can change the setting to "readable" to allow such an app to function, but this may increase your Nightscout costs. A better solution would be to contact the app developer and request that they modify the app to use a token for reading. This way, the app can operate without unnecessarily increasing Nightscout traffic.

#### **How to change the setting to "readable"?**
[Edit your variables](./NS_Variables.md).
Find the variable and change the value from denied to readable.

Preferably, after you are done using the malfunctioning app, change the variable back to denied.

Locate the `AUTH_DEFAULT_ROLES` variable and change its value from "denied" to "readable."
Preferably, after you have finished using the malfunctioning app, change the variable back to "denied."

0 comments on commit 8fba09d

Please sign in to comment.