Ticket #369 (closed Defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Admin password can't be changed via GUI

Reported by: jri Owned by: jri
Priority: Critical Milestone: Release 4.1
Component: DeepaMehta Standard Distribution Version: 4.0.12
Keywords: Cc: JuergeN, dgf, Malte
Complexity: 3 Area:
Module: deepamehta-accesscontrol

Description

Thanks JuergeN for reporting!

Change History

comment:1 Changed 8 years ago by jri

For the moment it is possible to set the password manually via the browser's JavaScript? Console:

1) Determine the ID of the "admin" User Account. You can do so in the Webclient by searching for "admin" and then revealing the respective topic (top hat icon). Now you can read the topic ID in the browser URL (.../topic/<id>).

2) In the browser's JavaScript? Console issue this command while replacing a) the topic ID, and b) the new plain text password:

dm4c.do_update_topic({
    id: 2342,
    type_uri: "dm4.accesscontrol.user_account",
    composite: {
        "dm4.accesscontrol.password": {
            type_uri: "dm4.accesscontrol.password",
            value: "new password"
        }
    }
})

This encrypts the password at client-side and updates it on the server. (The change is also reflected in the topic map.)

The new password is now in effect. Logout and try.

It's just a woraround. The original problem will be fixed soon. Sorry for the inconvenience.

comment:2 Changed 8 years ago by jri

  • Status changed from new to accepted

comment:3 Changed 8 years ago by Jörg Richter

  • Status changed from accepted to closed
  • Resolution set to fixed

Access Control fix: edit admin account (#369).

The admin user can change hers password: reveal the admin account through search and press Edit.

Close ticket 369.

Note: See TracTickets for help on using tickets.