2015-07-15 14:15:56 +00:00
|
|
|
table_name("authorizations")
|
2015-07-30 23:05:11 +00:00
|
|
|
description("OS X Authorization rights database.")
|
2015-07-15 14:15:56 +00:00
|
|
|
schema([
|
2015-07-30 23:05:11 +00:00
|
|
|
Column("label", TEXT, "Item name, usually in reverse domain format",
|
|
|
|
index=True),
|
2015-07-15 14:15:56 +00:00
|
|
|
Column("modified", TEXT, "Label top-level key"),
|
|
|
|
Column("allow_root", TEXT, "Label top-level key"),
|
|
|
|
Column("timeout", TEXT, "Label top-level key"),
|
|
|
|
Column("version", TEXT, "Label top-level key"),
|
|
|
|
Column("tries", TEXT, "Label top-level key"),
|
|
|
|
Column("authenticate_user", TEXT, "Label top-level key"),
|
|
|
|
Column("shared", TEXT, "Label top-level key"),
|
|
|
|
Column("comment", TEXT, "Label top-level key"),
|
|
|
|
Column("created", TEXT, "Label top-level key"),
|
|
|
|
Column("class", TEXT, "Label top-level key"),
|
|
|
|
Column("session_owner", TEXT, "Label top-level key"),
|
|
|
|
])
|
|
|
|
implementation("system/darwin/authorizations@genAuthorizations")
|
|
|
|
examples([
|
|
|
|
"select * from authorizations;",
|
|
|
|
"select * from authorizations where label = 'system.login.console';",
|
|
|
|
"select * from authorizations where label = 'authenticate';",
|
|
|
|
"select * from authorizations where label = 'system.preferences.softwareupdate';"
|
|
|
|
])
|