Author Topic: user permissions backwards  (Read 15161 times)

0 Members and 3 Guests are viewing this topic.

Offline tsmelinda

  • Newbie
  • *
  • Posts: 40
  • Karma: 1
Re: user permissions backwards
« Reply #15 on: June 05, 2010, 12:13:47 PM »
ok but why are people joining going into the operator group? (orange list in the "Tab" menu in gmod, and some go into guest list (blue list)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: user permissions backwards
« Reply #16 on: June 05, 2010, 12:52:33 PM »
ok but why are people joining going into the operator group? (orange list in the "Tab" menu in gmod, and some go into guest list (blue list)

Are you using UTeam then? Are you sure you configured it correctly?
Experiencing God's grace one day at a time.

Offline tsmelinda

  • Newbie
  • *
  • Posts: 40
  • Karma: 1
Re: user permissions backwards
« Reply #17 on: June 05, 2010, 01:10:30 PM »
its a default installation
only thing i did was add myself as superadmin in the garrysmod default users.txt

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: user permissions backwards
« Reply #18 on: June 05, 2010, 01:17:41 PM »
What makes you think other people are admins? Colors on the scoreboard are meaningless without UTeam.
Experiencing God's grace one day at a time.

Offline tsmelinda

  • Newbie
  • *
  • Posts: 40
  • Karma: 1
Re: user permissions backwards
« Reply #19 on: June 05, 2010, 01:47:08 PM »
because the ones in orange can do admin things.. and i tried to strip them and it dont work

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: user permissions backwards
« Reply #20 on: June 05, 2010, 01:57:46 PM »
because the ones in orange can do admin things.. and i tried to strip them and it dont work

Please be more explicit. What do you mean, admin things? What do you mean by it didn't work?
Experiencing God's grace one day at a time.

Offline tsmelinda

  • Newbie
  • *
  • Posts: 40
  • Karma: 1
Re: user permissions backwards
« Reply #21 on: June 05, 2010, 02:23:51 PM »
they can physgun others, spawn admin items, ban people and so on

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: user permissions backwards
« Reply #22 on: June 05, 2010, 04:23:31 PM »
Melinda,
We've asked you to delete your server's /data/ULib/groups.txt and restart the server. You've apparently manually edited the groups file or used addgroup and messed up the inheritance chain.
Also, make sure you are not editing any files in your server /addons/ULib or ULX folders. Editing any of those files can break the original.
If you wish to edit any of the configuration of ulx, copy the original stuff to /data just as almost all of the original files say to first.

We're having trouble understanding your exact issues because you give us little details, or what detail you give us is poorly reported.
We have a FAQs section that has step by step instructions for troubleshooting access issues. Though you claim in your first post that you've 'read everything', you give little indication that you've actually followed any of the instructions in them (including the exact step we asked you to follow about deleting the file)

As for phygun issues, you are running many mods. It is common that once you get your groups access sorted out, if the physgun is still an issue, it is a conflicting mod or perhaps even the game mode.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline tsmelinda

  • Newbie
  • *
  • Posts: 40
  • Karma: 1
Re: user permissions backwards
« Reply #23 on: June 05, 2010, 05:27:06 PM »
i have done everything you said, the ulx and ulib files in the addons i havent touched
Garry's mod original users.txt
Code: [Select]
"Users"
{
//
// This is your users file
//
// You can use this file to add people as admins on your server
// Add them to the relevant section
//
// If you're a Lua coder you can add your own sections and use them
// in your script by doing pl:IsUserGroup( "admin" ) etc
//

"superadmin"
{
"Las-Vegas-Melinda" "STEAM_0:0:5605486"
}

"admin"
{

}

}


addons/ulib/data/ulib/users.txt
Code: [Select]
//ATTENTION! This is a default file. DO NOT EDIT THIS FILE!!!
//Instead, edit the version in <garrysmod root>/data/ULib/users.txt if it exists. If it doesn't, copy this file over to create it.
//IF YOU MAKE CHANGES TO THIS FILE THEY WILL BE ERASED!


addons/ulib/data/ulib/groups.txt
Code: [Select]
//ATTENTION! This is a default file. DO NOT EDIT THIS FILE!!!
//Instead, edit the version in <garrysmod root>/data/ULib/groups.txt if it exists. If it doesn't, copy this file over to create it.
//IF YOU MAKE CHANGES TO THIS FILE THEY WILL BE ERASED!

"operator"
{
"allow"
{
}
"can_target"    "!%admin"
}

"admin"
{
"allow"
{
}
"inherit_from" "operator"
"can_target"    "!%superadmin"
}

"superadmin"
{
"allow"
{
}
"inherit_from" "admin"
}

// This is your default user. Everyone is considered part of this group so handle with care!
"user"
{
"allow"
{
}
}





Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: user permissions backwards
« Reply #24 on: June 05, 2010, 05:42:24 PM »
Show us your <root>/data/ulib files
Experiencing God's grace one day at a time.

Offline tsmelinda

  • Newbie
  • *
  • Posts: 40
  • Karma: 1
Re: user permissions backwards
« Reply #25 on: June 05, 2010, 05:59:39 PM »
Code: [Select]
"user"
{
"allow"
{
"ulx asay"
"ulx clientmenu"
"ulx help"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx menu"
"ulx motd"
"ulx psay"
"ulx thetime"
"ulx usermanagementhelp"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
"ulx who"
}
}
"superadmin"
{
"allow"
{
"overcomeimmunity"
"ulx addgroup"
"ulx adduser"
"ulx adduserid"
"ulx cexec"
"ulx ent"
"ulx exec"
"ulx groupallow"
"ulx hiddenecho"
"ulx luarun"
"ulx maul"
"ulx rcon"
"ulx removegroup"
"ulx removeuser"
"ulx removeuserid"
"ulx renamegroup"
"ulx setgroupcantarget"
"ulx userallow"
}
"inherit_from" "admin"
}
"admin"
{
"can_target" "!%superadmin"
"allow"
{
"ulx adminmenu"
"ulx armor"
"ulx ban"
"ulx banid"
"ulx banmenu"
"ulx blind"
"ulx bring"
"ulx chattime"
"ulx cloak"
"ulx csay"
"ulx freeze"
"ulx gag"
"ulx gimp"
"ulx god"
"ulx goto"
"ulx hp"
"ulx ignite"
"ulx jail"
"ulx kick"
"ulx map"
"ulx mapsmenu"
"ulx mute"
"ulx noclip"
"ulx physgunplayer"
"ulx playsound"
"ulx ragdoll"
"ulx reservedslots"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx send"
"ulx showmotd"
"ulx slap"
"ulx slay"
"ulx spawnecho"
"ulx spectate"
"ulx sslay"
"ulx strip"
"ulx teleport"
"ulx tsay"
"ulx unban"
"ulx unblind"
"ulx uncloak"
"ulx unfreeze"
"ulx ungag"
"ulx ungimp"
"ulx ungod"
"ulx unignite"
"ulx unigniteall"
"ulx unjail"
"ulx unmute"
"ulx unragdoll"
"ulx veto"
"ulx vote"
"ulx voteban"
"ulx votekick"
"ulx votemap2"
"ulx welcomemessage"
"ulx whip"
}
"inherit_from" "operator"
}
"operator"
{
"can_target" "!%admin"
"allow"
{
"ulx seeasay"
}
"inherit_from" "user"
}



here is what my "tab" list shows (sorry if its big)

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: user permissions backwards
« Reply #26 on: June 05, 2010, 06:08:14 PM »
Ok, groups.txt looks like it rebuilt properly.
Now, you're showing as superadmin like settings/users.txt should, what's the trouble?
If KillerTang can still pick you up, then most likely there is a conflict with another mod.
If he can run ulx slay or other commands on you, do the debug while they are connected and post it here in code tags or as an attachment (additional options link below reply post), and also post the text from a "ulx who" on your server.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline tsmelinda

  • Newbie
  • *
  • Posts: 40
  • Karma: 1
Re: user permissions backwards
« Reply #27 on: June 05, 2010, 06:42:55 PM »
Code: [Select]

ID Name                            Group
1  Las-Vegas-Melinda               superadmin
2  killerkang                      user


players can still physgun people though
Only addons are : adv dup, sbmp, phx3, ls2, rd2,ulx, ulib

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: user permissions backwards
« Reply #28 on: June 05, 2010, 06:55:01 PM »
Your addons are as follows according to debug:

Quote
Active addons on this server:
Adv Duplicator           by TAD2020, version 1.85 (June 28th 2009)
counter-strike           by Valve, version 1 (5th August 2006)
day-of-defeat            by Valve, version 1 (22nd August 2006)
default_sent_pack        by TEAM GARRY, version 1 (3rd December 2006)
derma                    by Garry Newman, version 1.5 (26th May 2010)
GCOMBAT09                by jjm4, version 1.2 (jjm4)
GlowStick                by Patrick Hunt, version 1.2 ()
hl2_ep2                  by Valve, version 1 (29th October 2007)
infonode                 by Braxus, version 1 ((null))
laserstool               by MadJawa, version 2.0 SVN (August 1st 2008)
LS2_Extended             by LS/RD/SB Team, version 1.0.3 (January 29, 2008)
LS2_Gassystems           by Syncaidius, version 1.2 (Today)
LS2_oilmod2              by Terence, With code from Paradukes and Shadow25 And with help from Tad2020! And A fix by NewOutlook!, version V2.0.0 ((null))
LS2_RTS                  by Solthar, version 1 (Today)
no_collide_multi         by Narkaleptic, version 1.1 (December 19th 2006)
phoenix-storms           by PhoeniX-Storms, 1/4 Life, hunter, joebloom, scragnog, x-quake, Xeon133, Squad, PelPix, Stigern, Alex Malkin, Cpl.Cookie, version SVN (25th April 2010)
portal                   by Valve, version 1 (29th October 2007)
Proximity                by       , version           (         )
Rails                    by Dragon90101/Mr. Altaco, version 1 ()
RD2                      by TAD2020, version 2 (Sept 28, 2007)
SBEP_Entities            by Firgof Umbra, Hysteria, Slyfo, Paradukes, Fishface, Cerus, version 4 (12th July 2009)
SBEP_Experimental        by Firgof Umbra, Hysteria, Slyfo, Paradukes, Fishface, Cerus, version 4 (12th July 2009)
SBEP_Fortifications      by Firgof Umbra, Hysteria, Slyfo, Paradukes, Fishface, Cerus, version 4 (12th July 2009)
SBEP_Weapons             by Firgof Umbra, Hysteria, Slyfo, Paradukes, Fishface, Cerus, version 4 (12th July 2009)
sbmp                     by PJB, Cheesman55, Firgof Umbra, Squad08, Omni, SnakeSVx, votekick, syflo, paradukes, fishface, version 1.5b (16th October 2007)
smartsnap                by Syranide, version 1 ()
Smart_Constraint         by Spacetech, version 1.2.2 ()
Stacker STool            by -, version 2.2 (19th January 2007)
tf2                      by Valve, version 1 (29th October 2007)
tiberium                 by Lynix, version 2.1b (Tomorrow)
Tiberium Harvesting      by Paradukes, version 5 ((null))
ULib                     by Team Ulysses, version 2.4 (00/00/00)
ULX                      by Team Ulysses, version 3.50 SVN (00/00/00)
WeightSTool              by Spoco, version 1.21 ((null))
wire                     by Wire Team, version SVN ((null))
wire addons              by Anticept and respective developers, version SVN (3rd June 2008)
wire model pack 1        by Wire Team, version SVN ((null))
zeno_clash               by ACE Team, version 1 (May 8th 2009)

Reduce that to only ulx and ulib and see if you still have a problem, then add in one by one to see what's causing it.
Experiencing God's grace one day at a time.

Offline tsmelinda

  • Newbie
  • *
  • Posts: 40
  • Karma: 1
Re: user permissions backwards
« Reply #29 on: June 05, 2010, 07:20:32 PM »
yeah i did that already