Bug with "Can not ban is Server Admin"
-
Not sure what you mean, if somebody applies for admin rights via the application he must have steam linked, otherwise he can not apply as server admin.
The only way I could solve it, is to remove all admin rights from users who unlink steam from their profile page
-
I find this in app/controllers/rconcmd/index.js
and we are looking to match on the steam_id, but seems maybe check that steam_id > 0 first ?
I too removed the admin permissions from some who did not properly have set.
Thanks
User.findOne({'steam.id':checkplayerdata.player_steam_id, 'local.user_role': {$gt: 100}}, function( err, checkifimune ) {
if (checkifimune){
req.flash('error_messages', req.t('rcon_commands:general.is_imune', { get_AdminName: checkifimune.local.user_name }));
res.redirect('back'); -
That's a good idea I will look at, just fixed another bug where I use cod4x plugin http to update players ingame visual settings, it was broken.
After I finish it I will look at this part, maybe i will also check there if there is an admin with no steam linked and remove him and send him a notification that he is removed because he had no steam account linked.
-
Admins should link the steam account to the web admin tool? to work ban?
-
Yes, not only for ban, steam is the admin authentication, no steam = no rights
-
how to set up steam with panel? any post about it?
-
@ravindu2500 Go to plugin SSO Steam Settings via admin panel, when you visit that page there is a tutorial, when you finish everything activate the plugin
-
@NeHo
Set your "returnURL" as the domain you access your app with /user/auth/steam/return, appended to it (e.g. https://www.mygreatwebsite.com/user/auth/steam/return)i don't understand this sorry
-
@ravindu2500 said in Bug with "Can not ban is Server Admin":
replace this part "https://www.mygreatwebsite.com" with your website or IP, make sure to use http if you dont have ssl (I added an example with https, if needed put there http)
-
@NeHo I did but still not working
},
"steamAuth" : {
"returnURL" : "http://snd.deathkinggaming.com/user/auth/steam/return",
"realm" : "http://snd.deathkinggaming.com",
"apiKey" : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
},should i change the path for specific my own path?
-
http://snd.deathkinggaming.com:3000
"steamAuth" : {
"returnURL" : "http://snd.deathkinggaming.com:3000/user/auth/steam/return",
"realm" : "http://snd.deathkinggaming.com:3000",
"apiKey" : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"You forgott the port
-
@NeHo still getting that error
"steamAuth" : { "returnURL" : "http://snd.deathkinggaming.com:3000/user/auth/steam/return", "realm" : "http://snd.deathkinggaming.com:3000", "apiKey" : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" },
-
wait 5-10 minutes on steam, they need some time
-
@NeHo should I add the port when I add the domain name in the steam website?
-
@NeHo
No error changes to "admin" -
@ravindu2500 Read post begining
-
it works thanks alot
-
This issue will be solved in the next v4.0.0 update
-
@neho said in Bug with "Can not ban is Server Admin":
This issue will be solved in the next v4.0.0 update
Still happening
-
All admins should have steam linked, 1 or more admins have no steam thats your issue