Closed Bug 689511 Opened 13 years ago Closed 12 years ago

Allow to disable creating new user accounts in server-full

Categories

(Cloud Services :: Server: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sschuberth, Assigned: rfkelly)

References

Details

(Whiteboard: [qa+])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
Build ID: 20110902133214

Steps to reproduce:

I tried to setup up my own private Weave server according to [1].

[1] http://docs.services.mozilla.com/howtos/run-sync.html


Actual results:

I noticed there is no option to disable registration of new accounts after I created an account for myself.


Expected results:

There should be an option in etc/sync.conf to disable creating new accounts. I'd like to disable registration for security reasons.
This has been asked many many times, will add an option for it
Assignee: nobody → tarek
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
tarek, hows this going?
Component: General → Server: Other
Whiteboard: [qa-]
Whiteboard: [qa-] → [qa?]
Assignee: tarek → rfkelly
Summary: Allow to disable creating new user accounts in Weave full server → Allow to disable creating new user accounts in server-full
OK, finally getting around to this.  Attached patch allows you to set auth.allow_new_users to false to disable the creation of new user accounts.
Attachment #637740 - Flags: review?(rmiller)
Comment on attachment 637740 [details] [diff] [review]
patch to disable adding new users

Review of attachment 637740 [details] [diff] [review]:
-----------------------------------------------------------------

straightforward enough
Attachment #637740 - Flags: review?(rmiller) → review+
Committed in http://hg.mozilla.org/services/server-core/rev/59a0313487a1

I'm leaving this bug open until I update the docs with this change.  For folks following this bug because they run their own sync server, if you update to latest development version:

    make build CHANNEL=dev

Then you should be able to add this to your config file to disable creation of new user accounts:

    [auth]
    allow_new_users = false
Whiteboard: [qa?] → [qa+]
Added this option to example config files distributed with server-full: http://hg.mozilla.org/services/server-full/rev/7eb157ce2da1
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: