chore: typo "accesed" changed to "accessed" for TS code #1069
+48
−48
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes the typo "accesed" -> "accessed" in TS files - specifically:
I've left the mapping to DB untouched (unsure how Dokploy handles migrations in version upgrades atm).
As an aside, I was discovered this while attempting to implement the "custom sort order" services for projects and services (suggested in #700). It appears that a user's access to projects and services are stored as string arrays instead of in dedicated permission tables:
dokploy/packages/server/src/db/schema/user.ts
Lines 43 to 50 in 332416b
which makes it difficult to implement a custom sort order on a per-user basis.
Would you be open to receiving a PR that normalises the schema + changes the way user permissions are handled?
E.g. replacing arrays with junction tables joining users with projects, and a users with services.
This is quite a big change so asking first before attempting.