Hi John,
There a two kinds of notification preferences. There is the immediate,
daily, weekly, monthly notification setting. This you can change as admin, I
checked at http://epf.eclipse.org just to be sure. The other kind are
notifications that are associated with a specific page. The idea is that if
you participate in a discussion about a specific page you also want to be
notified of comments made by other users. So if you comment on a page
default you will receive notifications when other users comment on the same
page. The user can turn this off but the admin can not I think. The user can
turn it off on the discussion page btw, not the profile page. I'll take note
of this as an possible future enhancement. I think what you want is ability
to disable an account.

As a workaround you could do the following (assuming you are using Linux):


   1. Logon to app server using SSH and navigate to EPF Wiki app folder

Execute the following commands in terminal window:

   1. export RAILS_ENV=production
   2. ruby script/console
   3. u = User.find_by_email('[email protected]')
   4. u.notifications.destroy_all # this will destroy all page notifications
   5. u.notify_daily = 0
   6. u.notify_weekly = 0
   7. u.notify_monthly = 0
   8. u.notify_immediate = 0
   9. u.save

If you have to do this often you can consider creating a script that accepts
email as a parameter and that will execute this command on the server using
SSH.
Best Regards,
Onno




On Thu, Mar 31, 2011 at 10:35 AM, John Allen <[email protected]> wrote:

>  Dear EPF-Dev,
>
> Is it possible to change user's preferences as the main central admin user?
> I cant seem to do this and have had to login as the user to clear
> notifications etc.
>
> John
>
> *______________________________________________*
> *John Allen -* Solution Architect, Senior Manager
> *t* +44 (0)207 812 4626 |*** m* +44 (0)778 753 3602
> *f* +44 (0)207 812 4100 |*** c* +44 (0)207 897 9424 # 93410 59633
> ***a* Detica | 2 Arundel Street | London | WC2R 3AZ | UK
> *Please do not send emails to this account protectively marked as
> restricted or above*
> *______________________________________________*
> *www.detica.com* – a BAE Systems company**
>
> Please consider the environment before printing this email.
>
> This message should be regarded as confidential. If you have received this 
> email in error please notify the sender and destroy it immediately.
> Statements of intent shall only become binding when confirmed in hard copy by 
> an authorised signatory.  The contents of this email may relate to dealings 
> with other companies within the Detica Limited group of companies.
>
> Detica Limited is registered in England under No: 1337451.
>
> Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.
>
>
>
> _______________________________________________
> epf-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/epf-dev
>
>
_______________________________________________
epf-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/epf-dev

Reply via email to