Menu

#7 Made CONFIG_TEMPLATES comprasion and right apply conditional

1.0
open
Lachu
2025-09-23
2025-09-23
Lachu
No

Allow to made right templates relative to part of directory tree.

Add to CONFIG_TEMPLATES mount column (text). When we iterate over config templates table, check if path begins with mount column's value. If it is true, we remove mount value from start of path and apply rights from CONFIG_TEMPLATES DB.

If mount column contains NULL, we always apply rights from pointing DB.

If start of path does not match with mount column, we omit this DB.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.