Skip to content
Kamoorjdocs
Documentation

Privacy Policies

Role-based localized short policy records, limitations, permissions and current UI status.

On this page

Purpose and interface status

The module tree includes Administration → Privacy Policies (key privacy-policies). This is a server-side catalogue of short text records associated with user roles.

The current administration UI has no working management screen: the menu mapping is commented out, and /privacy-policies is reserved but not connected to page routing. The existing PrivacyPolicies component renders only Module Under Construction. A normal form for creating or editing these records is therefore unavailable. A module's presence in the permissions list is not proof that its screen is available.

Stored data

A record associates a role with localized text. Assigning the role itself to users is a separate operation in roles and access management.

Field Rule Illustrative example
Role Required identifier of an existing role Student
Language (slug) Translation code; persisted value up to 10 characters ru, en, hy
Document text (document_text) Nonempty string; request limit is 255 characters but current database column limit is 100 “Student data handling rules”
Identifier Assigned by the system, not chosen by the operator —

Keep each language in the same role record. Each document/language pair has one translation row; submitted languages are updated or added, and omitted translations are not automatically replaced. See the language catalogue. For practical preparation, use at most 100 characters per translation until the schema and request limit are aligned.

Server catalogue capabilities and limits

The implementation supports reading a list, retrieving a record for a role, creation, update, soft deletion, deleted-record listing and restoration. The listing returns records with role identifier and translations. There are no dedicated filter/search controls, long-document or file editor, revision or effective date, publication flag, user acceptance, consent timestamp or consent log in this module.

The role model has a policy relationship. This does not establish that a saved text is shown to students/employees, blocks sign-in, changes access rights, is published on the website, or records acceptance: these mechanisms are not implemented by this catalogue. A short record is not a replacement for the institution's complete approved policy document. Maintain that document in the institution's established process.

Soft deletion retains translations. If an authorized creation/update reports matching deleted text, the responsible administrator should inspect the existing record and determine whether restoration is appropriate. Do not create separate records for one role just to distinguish languages. Permanent deletion of a role is linked to cascading deletion of its policy.

Permissions and scopes

The privacy-policies server module registers standard read, create, update, deletion and restoration permissions in role permissions, including privacy-policies.index, privacy-policies.show, privacy-policies.store, privacy-policies.update, privacy-policies.destroy, privacy-policies.deleted-items and privacy-policies.restore. No dedicated Faculty/Profession/Department scopes are declared: this is a role-associated entry, not specific to a faculty or student.

Assign these permissions only to responsible administrators. Extra permissions cannot restore a screen that has not been implemented. Do not use direct data modification as a replacement for a missing interface.

Example of a normal administration request

If a record is needed for the Student role, prepare short agreed titles:

  • RU: «Правила обработки данных студентов»
  • EN: “Student data handling rules”
  • HY: «Ուսանողների տվյալների մշակման կանոններ»

Specify the role, languages, approved wording and responsible unit. Send the information to the administrator/support team and request a supported workflow. Separately clarify where users can access the complete policy and how acceptance is recorded if required. Do not tell users that a policy has been published or accepted merely because a catalogue entry exists.

Implementation references

Updated Nov 27, 2026