Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to a personal DataProvider are not logged #1459

Open
prioux opened this issue Jan 14, 2025 · 1 comment
Open

Changes to a personal DataProvider are not logged #1459

prioux opened this issue Jan 14, 2025 · 1 comment
Assignees
Labels
Admin Features or bugs related to administrative features Priority: Normal User Interface

Comments

@prioux
Copy link
Member

prioux commented Jan 14, 2025

We have a framework to track changes to ActiveRecord models and log the changes to the record's log.

   record.update_attributes_with_logging(current_user, [ :att, :att, :optional_attribute_list... ])

Each model as a default list of attributes to log, and the programmer can provide other attributes as well for uncommon ones.

Most of the update actions in the controllers of CBRAIN do this.

The controller action for personal DPs doesn't seem to record changes. I'd like changes to all the standard attributes that user can edit to be logged.

@prioux prioux added Admin Features or bugs related to administrative features Priority: Normal User Interface labels Jan 14, 2025
@MontrealSergiy
Copy link
Contributor

Cannot reproduce. I tried changing directory, url, group and name

On NeuroHub side the update is limited to certain attributes, present in the form, but all relevant seems to be covered.

Perhaps some other attributes or actions need change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Features or bugs related to administrative features Priority: Normal User Interface
Projects
None yet
Development

No branches or pull requests

2 participants