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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -