•  
     
    story #12163 overcome project owner invalidation
Summary
site administrator
overcome project owner invalidation

I can guarranty as much as possible that a project has a owner
 

Overview

This feature is provided by 'project_certification' plugin.

In the following story, a user is considered invalid if he becomes 'Suspended' or 'Deleted'.

Functional overview

When a user becomes invalid (either because site admin manually changed its status or if LDAP daily sync did it) a custom code is called to find someone to take his role.

This custom code is under system administrator responsability and shall be deployed in '/etc/tuleap'. It will take as parameter a "User" object about to be invalid and can return either 'null' or another User object that should replace the about-to-be-invalid owner. The way the new owner is found is not under plugin's reponsability.

By default and when 'null' is returned or if there is an exception, error, nothing will be done with the project owner. The project he owns will become orphan. An event is recorded in the project history about orphan.

When a user is returned, he will be added as a project_member, project_administrator and forced as owner of each and every project the previous owner owned.

Email notifications

Emails notifications are aggregated to limit the amout of spam:

When no new owner is found (orphan):

  • project administrators are notified (mail got aggregated if someone is admin of several projects)
  • a mail is sent to site administrators about new "not certified" projects (only 1 mail with all projects).

When a new owner is found:

  • new owner get one email with all projects he his now owner (no mails are sent for membership and admin)
  • for each administrator of each project that where changed, only one email is sent with all projects affected.
    • if the new owner is already administrator of the project he only get the first mail
Empty
Denis PILAT (denis_pilat)
Status
Empty
Canceled
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#12163
Manuel Vacelet (vaceletm)
2018-11-26 15:13
2018-08-22 17:03
13138

References

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • CC list set to Denis PILAT (denis_pilat)
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes