Ulysses Stuff > Suggestions

Echo Admin Commands to Admins only

<< < (7/10) > >>

okiedoke:
I'm just looking at the code now. Surely the easiest way to do this would be to change:


--- Code: ---ULib.ucl.registerAccess( hiddenechoAccess, ULib.ACCESS_SUPERADMIN, "Ability to see hidden echoes", "Other" )
--- End code ---

to this:


--- Code: ---ULib.ucl.registerAccess( hiddenechoAccess, ULib.ACCESS_HEADADMIN, "Ability to see hidden echoes", "Other" )
--- End code ---

Would that have my desired effect?

Megiddo:
No. The easiest would be to give that access tag to the appropriate group using "ulx groupallow". Changing that code only effects clean installs.

okiedoke:
I'm very confused then.
The groups I want to be able to see echoes have ulx hiddenecho, I can see that in the groups.txt file.

So I can understand this, assuming group headadmin has hiddenecho allowed and echo is set to 0 and an admin (without hiddenecho) does "ulx kick RandomNameHereLol" who should see what if anything?

Sorry if I'm getting annoying, I just really wanna get this to work as we want it. I'm happy to edit Lua but reluctant to mess with ULX if it already does what we want - ULX is great as it is!

Megiddo:
The access tag is "ulx seeanonymousechoes", and it only has any effect if the echo mode is set to 1.

okiedoke:

--- Quote from: Megiddo on August 23, 2013, 08:51:53 PM ---The access tag is "ulx seeanonymousechoes", and it only has any effect if the echo mode is set to 1.

--- End quote ---

Ok, but you haven't actually answered my question though...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version