~abompard/mailman/subpolicy

« back to all changes in this revision

Viewing changes to src/mailman/model/docs/users.rst

  • Committer: Barry Warsaw
  • Date: 2015-04-07 02:06:28 UTC
  • mfrom: (7313.2.6 lp1423756)
  • mto: This revision was merged to the branch mainline in revision 7323.
  • Revision ID: barry@list.org-20150407020628-fkwphij7to9lc8gy
 * Domains now have a list of owners, which are ``IUser`` objects, instead of
   the single ``contact_address`` they used to have.  ``IUser`` objects now
   also have a ``is_server_owner`` flag (defaulting to False) to indicate
   whether they have superuser privileges.  Give by Abhliash Raj, with fixes
   and refinements by Barry Warsaw.  (LP: #1423756)

 * Domains can now optionally be created with owners; domain owners can be
   added after the fact; domain owners can be deleted.  Also, users now have
   an ``is_server_owner`` flag as part of their representation, which defaults
   to False, and can be PUT and PATCH'd.  Given by Abhilash Raj, with fixes
   and refinements by Barry Warsaw.  (LP: #1423756)

Show diffs side-by-side

added added

removed removed

Lines of Context:
295
295
    zperson@example.org xtest_2.example.com MemberRole.owner
296
296
 
297
297
 
 
298
Server owners
 
299
=============
 
300
 
 
301
Some users are server owners.  Zoe is not yet a server owner.
 
302
 
 
303
    >>> user_1.is_server_owner
 
304
    False
 
305
 
 
306
So, let's make her one.
 
307
 
 
308
    >>> user_1.is_server_owner = True
 
309
    >>> user_1.is_server_owner
 
310
    True
 
311
 
 
312
 
298
313
.. _`usermanager.txt`: usermanager.html