sozsoft-platform/ui/src/constants/permission.constant.ts
2026-08-10 16:53:24 +03:00

17 lines
621 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const GLOBAL_SEARCH = 'App.Definitions.GlobalSearch'
export const AI_ASSISTANT = 'App.Definitions.AiBot.Asistant'
/** Veritabanı migration + seed tetikleme yetkisi (host tarafı). */
export const DB_MIGRATE = 'App.Setup.Migrate'
/**
* Public site sayfalarının tasarım modu yetkileri.
* Sunucuda `PermissionsData.json` içinde tanımlıdır ve seeder ile yönetilir;
* asıl kontrol `PublicAppService.Save*PageAsync` üzerindedir.
*/
export const PUBLIC_PAGE_DESIGN = {
HOME: 'App.Home.Design',
ABOUT: 'App.About.Design',
SERVICES: 'App.Services.Design',
CONTACT: 'App.Contact.Design',
} as const