git - Strong access control for Gollum? -
what best way add multiple role access gollum wiki?
i understand how add basic http auth via, rack middleware. however, know what's required have full multi user/role authentication , authorization.
can devise or omniauth used in similar way rails app?
what required?
with hint http://www.sinatrarb.com/faq.html#auth configuration file this
# authentication.rb module precious class app < sinatra::base use rack::auth::basic, "restricted area" |username, password| [username, password] == ['admin', 'admin'] end end end
and running as:
$ gollum --config authentication.rb
in running gollum instance, ask user name , password
Comments
Post a Comment