Web Dashboard Setup on a dedicated server?!

Schelter

New member
Hi Everyone, is there anywhere a solution on how to setup the web dashboard and use it as an administrator?! Can't find any information on it!

I did created a user via createwebuser command ingame, but if I try to login I get the message "You do not have permission to execute this command"

However in the logfiles I can see a successful login with admin priviledges...

From the server logs:
INF [Web] User registered: Username 'xxx' for platform ID Steam_xxx, crossplatform ID EOS_xxx

INF [Web] User/pass login from 192.168.x.x:27586, name xxx with ID Steam_xxx, CID EOS_xxx, permission level 0

and no matter where I click or what I do after that, I get the "Authentication error" message?!

So I am server admin, login works, but I can't do anything on the web dashboard?!?

Any Info from the fun pimps regarding this?

 
if I try to login I get the message "You do not have permission to execute this command"
I did this in my serveradmins.xml

```<webmodules>
    <module name="webapi.Map" permission_level="1000">
      <method name="GET" permission_level="1000" />
      <method name="POST" permission_level="1000" />
      <method name="PUT" permission_level="1000" />
      <method name="DELETE" permission_level="1000" />
    </module>
    <module name="web.map" permission_level="1000">
      <method name="GET" permission_level="1000" />
      <method name="POST" permission_level="1000" />
      <method name="PUT" permission_level="1000" />
      <method name="DELETE" permission_level="1000" />
    </module>
    <module name="webapi.Command" permission_level="0">
      <method name="GET" permission_level="0" />
      <method name="POST" permission_level="0" />
      <method name="PUT" permission_level="0" />
      <method name="DELETE" permission_level="0" />
    </module>
    <module name="webapi.viewallplayers" permission_level="1000" />
  </webmodules>```

If you want only admins to see it, set the permission level to '0'.

If you want anyone to see the map without having to log in, you can set the permission level to 2000.

This may be an incorrect setup, however, it is working for me. I think maybe you don't need the webapi.map

section. I set webapi.Command to '0', so only admins will see that section.

 
What is the permission level to allow all players to see the map but only admins to make changes and does that pertain to all three modules? I'm still having a time wrapping my head around this.

 
What is the permission level to allow all players to see the map but only admins to make changes and does that pertain to all three modules? I'm still having a time wrapping my head around this.
I think only the Map (or map) parts pertain to the map part, the command part is to execute commands on the map. For only viewing I'm guessing it's only the GET request, so the permission level after each GET module should be 2000.

 
Back
Top