I'm using Couch on a website that includes a members section for the organization's internal documents and communications. I would like to use Couch's user management and access control to provide access to the private area, but there seem to be limitations to Couch's functionality that I would like to overcome.
1) Since registered users don't have access to the admin panel, there seems to be no way to allow them the ability to manage their own username and password. I don't mind issuing a username/password manually, but I would like the user to be able to change them to something personal, or to be able to change the password if they forget and have to reset it.
2)My current configuration places the members area in it's own subdomain and protects the entire directory with htpasswd. Is there a way to use Couch to protect an entire directory like this rather than designating the access level of each page and template, then using url cloaking to protect every linked file?
2a)I haven't used url cloaking yet and don't fully understand how it works. Does cloaking prevent all unauthorized access to the file, including robots and those who know or guess at the path name?
My php skills are rudimentary, but if this capability doesn't already exist, I'd be willing to poke around in the code (now that it's open, and when I can find the time) to see if I can implement it for myself. I imagine that you'd just need to pluck the individual user management page out of the code and allow access to a logged-in user through a link. But I'd need to find the appropriate section(s) of code and learn the appropriate variables and dependencies. I haven't had much of a chance to look closely at the code yet, but I look forward to monkeying around with it to see what I can learn.
1) Since registered users don't have access to the admin panel, there seems to be no way to allow them the ability to manage their own username and password. I don't mind issuing a username/password manually, but I would like the user to be able to change them to something personal, or to be able to change the password if they forget and have to reset it.
2)My current configuration places the members area in it's own subdomain and protects the entire directory with htpasswd. Is there a way to use Couch to protect an entire directory like this rather than designating the access level of each page and template, then using url cloaking to protect every linked file?
2a)I haven't used url cloaking yet and don't fully understand how it works. Does cloaking prevent all unauthorized access to the file, including robots and those who know or guess at the path name?
My php skills are rudimentary, but if this capability doesn't already exist, I'd be willing to poke around in the code (now that it's open, and when I can find the time) to see if I can implement it for myself. I imagine that you'd just need to pluck the individual user management page out of the code and allow access to a logged-in user through a link. But I'd need to find the appropriate section(s) of code and learn the appropriate variables and dependencies. I haven't had much of a chance to look closely at the code yet, but I look forward to monkeying around with it to see what I can learn.