ULX
Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
permission flags?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: permission flags? (Read 1760 times)
0 Members and 1 Guest are viewing this topic.
nathan736
Full Member
Posts: 143
Karma: 4
permission flags?
«
on:
March 22, 2013, 08:38:37 AM »
in the ulx groups menu theres checkboxes for stuff like show hidden echo ect is this hard coded or is there a way to add more for developers who code there own guis to use non hard coded if v.candothis then do this
Logged
a person asked me how to code lua and i said this " its like building a rocket up side down then realizing you did it all wrong."
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: permission flags?
«
Reply #1 on:
March 22, 2013, 10:13:03 AM »
We try not to hard code anything in ULX in general.
To directly answer you,
this is what you're looking for
.
Logged
Experiencing God's grace one day at a time.
nathan736
Full Member
Posts: 143
Karma: 4
Re: permission flags?
«
Reply #2 on:
March 22, 2013, 11:46:48 AM »
thanks
is there a example for this ?
so
ucl.registerAccess( access,groups,comment,category )
would become
ucl.registerAccess( dothis,superadmin,"lets people do this"," yoloswag" )
now how would i check if some one has access from this ?
«
Last Edit: March 22, 2013, 12:21:03 PM by nathan736
»
Logged
a person asked me how to code lua and i said this " its like building a rocket up side down then realizing you did it all wrong."
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: permission flags?
«
Reply #3 on:
March 22, 2013, 12:26:18 PM »
Why not look through ULX for examples? log.lua has some particularly simple usages of this and would answer your second question too.
Logged
Experiencing God's grace one day at a time.
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
permission flags?