These are chat archives for collectiveaccess/support

4th
Mar 2016
Sami Rahman
@samrahman
Mar 04 2016 05:40
Hi
Sami Rahman
@samrahman
Mar 04 2016 05:48
Hi @kehh, I just had a weird issue, I deleted my ldap user from providence , & then unable to login using the same credentials. I basically changed default user group/roles for ldap login , but if you delete user, it doesn't get deleted from the database
I had to delete the user from mysql's ca_users_x_groups, ca_user_x_roles & ca_users table to be able to login again
Kehan Harman
@kehh
Mar 04 2016 05:49
Yes I've seen that before. The user gets flagged as deleted. If you have another user to log in as
Sami Rahman
@samrahman
Mar 04 2016 05:49
Is that a bug?
Kehan Harman
@kehh
Mar 04 2016 05:51
If you have another user to log in as you can use the filter at the top of the user listing under Manage > Access Control > User Logins
change full-access to deleted
I'm unsure if it's a bug or a feature (you can restore the user by changing the deleted flag in the database).
Sami Rahman
@samrahman
Mar 04 2016 05:53
ah I see..looks like a feature
soft delete
thanks @kehh
Kehan Harman
@kehh
Mar 04 2016 05:54
np
Stefan
@stefankeidel
Mar 04 2016 13:42
I'm unsure if it's a bug or a feature
that should be our slogan
Sami Rahman
@samrahman
Mar 04 2016 14:51
:-D
catarinabastos
@catarinabastos
Mar 04 2016 14:56
Hi. I'm having a little issue. I'm trying to finish my installation of pawtucket but it gives me this error: "PHP mysql module is required for CollectiveAccess to run. Please install it" .. I install pawtucket2 and my php.ini have mysqli.dll uncommented, like is supposed to be.... i guess..
Stefan
@stefankeidel
Mar 04 2016 15:58
Is this the old Pawtucket(1)?
Try using the develop branch, that should at least kind of work with the latest Providence
catarinabastos
@catarinabastos
Mar 04 2016 16:11
i'm using pawtucket2. i've tried pawtucket develop but gave me the same problem
Stefan
@stefankeidel
Mar 04 2016 16:12
ok, but Providence is working on the same machine?
Hmm, if you're seeing the (exact) message you copied above, you're not using pawtucket2/develop ... that's master
catarinabastos
@catarinabastos
Mar 04 2016 16:34
providence is working on the same machine and it works
Stefan
@stefankeidel
Mar 04 2016 17:56
Definitely try the develop branch for Pawtucket2! The current state of the master branch is not very useful
The database code is the same, so if Providence 1.6 works, Pawtucket2/develop should work too. Both are using the mysqli extension for database access
The older master code still only checks mysql, I think
Sophie
@pinkfishies
Mar 04 2016 21:36
@samrahman @kehh The reason why users are not actually deleted from the database is that often even if you revoke access, you want to be able to go back and see what changes that user made in the past.
Often you want to keep the user's activity in your system. It's useful if you have a complex workflow within an institution with many cataloguers.