Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update employee API permissions for profile access#1527

Open
arifulhoque7 wants to merge 5 commits intowp-erp:developfrom
arifulhoque7:feature/hr-frontend-react-implementation
Open

Update employee API permissions for profile access#1527
arifulhoque7 wants to merge 5 commits intowp-erp:developfrom
arifulhoque7:feature/hr-frontend-react-implementation

Conversation

@arifulhoque7
Copy link
Contributor

Modified permission callbacks to allow users to view and update their own employee profile and photo, in addition to users with specific capabilities. Authenticated users can now upload their own profile photo, improving usability and access control. Related PRO PR

Changes proposed in this Pull Request:

Related issue(s):

Modified permission callbacks to allow users to view and update their own employee profile and photo, in addition to users with specific capabilities. Authenticated users can now upload their own profile photo, improving usability and access control.
arifulhoque7 and others added 3 commits November 18, 2025 09:55
When 'job_histories' or 'histories' is included in the request, the API now returns employment, compensation, and job history fields for employees. This provides more detailed historical data for frontend consumption.
The delete_employee method now supports a 'force' parameter to allow permanent deletion of employees from trash. This provides more flexibility for API consumers when managing employee records.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants