Support

Expand all | Collapse all

Prevent users from logging it to Jama during maintenance

  • 1.  Prevent users from logging it to Jama during maintenance

    Posted 11 days ago
    Hi,  We are making changes to our project structure in Jama, and would like to prevent non admins from logging in during this time.  Is there a way to prevent this?

    ------------------------------
    Martha Fiske
    Lucid Motors
    ------------------------------


  • 2.  RE: Prevent users from logging it to Jama during maintenance

    Posted 11 days ago
    Hi Martha,
    you can make non-admins users inactive for the desired period of time.
    You can do this by REST API
    • loop over all user
    • if not belonging to organization admin user group, then set inactive and store in a list
    When finished,
    • loop over stored list
    • set the user active

    Best,
    Alessandro

    ------------------------------
    Alessandro
    Systems Engineer
    SICK AG
    ------------------------------



  • 3.  RE: Prevent users from logging it to Jama during maintenance

    Posted 11 days ago
    Edited by Decoteau 11 days ago
    Hi all,

    Alessandro - I like this solution!

    Martha, I was trying to come up with a scenario in which you could utilize your SAML to keep users out but wasn't sure if that would work with your configuration. Plus, to keep your Admins from also being locked out in that scenario, you'd have to enable multi-mode authentication, allowing your Admins the chance to have a Basic (non-SAML) log-in option.

     Alessandro's suggestion could be a much simpler option - if you're comfortable using Rest API.

    Note - you can set up a message in your UI telling users about the "offline" time so they can prepare in advance. There are two ways to display this type of UI messaging: 1) At the "Basic" log-in page (which won't appear to those using SAML) 2) In the "Footer"/bottom section of the application. This messaging is controlled in your Root Menu General Properties section, so Hosted customers can request Support to arrange this on their behalf.

    Please let me know if you have any questions.

    ------------------------------
    Decoteau Wilkerson
    Content Marketing Specialist
    Jama Software
    OR
    ------------------------------



  • 4.  RE: Prevent users from logging it to Jama during maintenance

    Posted 11 days ago
    Hi Alessandro & Decoteau,
    Thanks for the responses.  I'll have to look into the inactive option as we have quite a few people who are legitimately inactive so I have to differentiate between those and the active ones that I need to change.  I may be able to use the rest api to get the list of inactive users and save the response, change all active users to inactive.  When I switch all users back to active, maybe I can use the response that I saved to change the appropriate users back to inactive.

    I will let you guys know if that works!



    ------------------------------
    Martha Fiske
    Lucid Motors
    ------------------------------



  • 5.  RE: Prevent users from logging it to Jama during maintenance

    Posted 10 days ago
    HI Martha,

    that's the reason why I was previously saying "... store in a list" -> in such a way you store the active users. You have simply to manage it.
    More in detail: create a user group for all active users and fill it.
    deactivate users in above list
    do you maintainance
    activate users in above list
    In this way you can ignore user that were already inactive.

    I hope it helps.

    Best,
    Alessandro

    ------------------------------
    Alessandro
    Systems Engineer
    SICK AG
    ------------------------------



  • 6.  RE: Prevent users from logging it to Jama during maintenance

    Posted 10 days ago
    Gotcha...That's a great idea, thanks Alessandro!

    ------------------------------
    Martha Fiske
    Lucid Motors
    ------------------------------