2015-07-15 14:15:56 +00:00
|
|
|
table_name("authorization_mechanisms")
|
2015-07-30 23:05:11 +00:00
|
|
|
description("OS X Authorization mechanisms database.")
|
2015-07-15 14:15:56 +00:00
|
|
|
schema([
|
2015-07-30 23:05:11 +00:00
|
|
|
Column("label", TEXT, "Label of the authorization right", index=True),
|
|
|
|
Column("plugin", TEXT, "Authorization plugin name"),
|
|
|
|
Column("mechanism", TEXT, "Name of the mechanism that will be called"),
|
|
|
|
Column("privileged", TEXT, "If privileged it will run as root, else as an anonymous user"),
|
|
|
|
Column("entry", TEXT, "The whole string entry"),
|
2015-07-15 14:15:56 +00:00
|
|
|
])
|
|
|
|
implementation("system/darwin/authorization_mechanisms@genAuthorizationMechanisms")
|
|
|
|
examples([
|
|
|
|
"select * from authorization_mechanisms;",
|
|
|
|
"select * from authorization_mechanisms where label = 'system.login.console';",
|
|
|
|
"select * from authorization_mechanisms where label = 'authenticate';"
|
|
|
|
])
|