Jump to content

Web Dashboard Setup on a dedicated server?!


Schelter

Recommended Posts

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?

 

Link to comment
Share on other sites

On 7/24/2023 at 12:23 AM, Schelter said:

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...