fix(07-01): allow providers to edit published job offers
Added edit_published_job_offers capability to ddhh_provider role and created upgrade_roles function to automatically add this capability to existing provider accounts. Providers can now edit their published job offers from the dashboard. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -50,6 +50,9 @@ class DDHH_JM_Job_Manager {
|
||||
// Initialize post types
|
||||
add_action( 'init', array( 'DDHH_JM_Post_Types', 'register' ) );
|
||||
|
||||
// Upgrade roles with any new capabilities
|
||||
add_action( 'init', array( 'DDHH_JM_Roles', 'upgrade_roles' ) );
|
||||
|
||||
// Initialize ACF fields
|
||||
add_action( 'acf/init', array( 'DDHH_JM_ACF_Fields', 'register_fields' ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user