weixin_39908263 2020-11-30 16:28
浏览 0

LDAP/AD allow setting default roles like #create

Originally reported on Google Code with ID 435


What steps will reproduce the problem?
1. set git.defaultAuthorizationControl = AUTHENTICATED in gitblit.properties.
2. Login as a AD user (previously non-existant in blit) in blit web UI.
3. Try to look for "create new repository" function.

What is the expected output? What do you see instead?
No create new repository functionality seems to be available.

What version of the product are you using? On what operating system?
Blit 1.5.0 WAR on Windows tomcat.

Please provide any additional information below.

This might not be a real bug.. but I just could not figure out how can the AD authenticated
user can create new repository without administrator's intervention. The 'git.defaultAuthorizationControl'
property seems like the key .. but changing from NAMED to AUTHENTICATED did not bring
any  perceivable change.

Reported by dharapvj on 2014-05-23 09:16:14

该提问来源于开源项目:gitblit/gitblit

  • 写回答

5条回答 默认 最新

  • weixin_39908263 2020-11-30 16:28
    关注
    
    They can't.  You'll have to manually edit the user object and check the create personal
    repositories checkbox.
    
    git.defaultAuthorizationControl is for git repository transport authorization, not
    for repo creation.
    

    Reported by James.Moger on 2014-05-23 11:56:17

    评论

报告相同问题?