Development

#2914 (Document how to integrate with sf_guard_user)

You must first sign up to be able to contribute.

Ticket #2914 (new documentation)

Opened 10 months ago

Last modified 10 months ago

Document how to integrate with sf_guard_user

Reported by: johnnygri Assigned to: trivoallan
Priority: minor Milestone:
Component: sfPropelVersionableBehaviorPlugin Version:
Keywords: Cc:
Qualification: Accepted

Description

A helpful improvement would be to integrate this with the sfGuard plugin. When an authenticated sf_guard_user makes a change their user_id could be stored. If an sf_guard_user is present then the call to setVersionCreatedBy() could be made automatically, storing the current user_id.

Change History

(in reply to: ↑ description ) 02/11/08 14:33:47 changed by trivoallan

  • version deleted.
  • type changed from enhancement to documentation.
  • qualification changed from Unreviewed to Accepted.
  • summary changed from Integrate with sf_guard_user to Document how to integrate with sf_guard_user.

hi,

Replying to johnnygri:

A helpful improvement would be to integrate this with the sfGuard plugin. When an authenticated sf_guard_user makes a change their user_id could be stored. If an sf_guard_user is present then the call to setVersionCreatedBy() could be made automatically, storing the current user_id.

i don't want to tie the plugin too tightly with another one in order to facilitate integration in any existing system.

thus, this won't be implemented, but documentation will be enhanced in order to give integration guidelines for sfGuard.

(follow-up: ↓ 3 ) 02/11/08 14:57:35 changed by johnnygri

Understand. Maybe it could be configured via YAML to work with sfGuard? sfPropelActAsCommentableBehaviour works this way. Just a thought, I'm happy to hack it in to my project :)

(in reply to: ↑ 2 ) 02/11/08 15:03:42 changed by trivoallan

Replying to johnnygri:

Maybe it could be configured via YAML to work with sfGuard? sfPropelActAsCommentableBehaviour works this way.

i'll take a look at it. thanks for the insight :)