Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

How to restrict users to only be able to edit their own blog posts

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
blogwebsiteaccess rights
3 Antworten
3646 Ansichten
Avatar
Stardust

I'm currently trying to set up my website to be able to serve as a platform for my community's research. I wish to do this by allowing users to create and edit their blog posts but not those of others.


Currently, I'm unable to find any way to achieve that as allowing creation and writing access to blog posts for users will instantly let them edit all other blog posts. Is there a way to achieve what I'm trying to do?

0
Avatar
Verwerfen
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Beste Antwort

Hi,

To restrict users so they can only edit their own blog posts in Odoo 17 Community, you'll need to create specific access control rules and record rules. Here's a steps to achieve this:


Step 1: Create a New Security Group

1. Log in to your Odoo instance: Ensure you have administrator access.

2. Go to Settings:

   - Navigate to the Settings menu.

   - Activate the developer mode by clicking on your user profile in the top right corner and selecting Activate the developer mode.

3. Access Groups:

   - Go to Settings > Users & Companies > Groups.

   - Click on Create to create a new group.

   - Name the group, for example, "Blog Post Authors".


Step 2: Create Access Control Rules

1. Define Access Rights:

   - While creating the group, go to the Access Rights tab.

   - Add the model `blog.post` and set the permissions for Read, Write, Create and Delete as required.

2. Create Record Rules for Blog Posts:

   - Go to Settings > Technical > Security > Record Rules.

   - Click on Create to add a new record rule. 

3. Record Rule for Blog Post Authors:

   - Name: Only Own Blog Posts

   - Object: blog.post

   - Domain Filter: `[('create_uid', '=', user.id)]`

   - Groups: Select the "Blog Post Authors" group you created.

   - Permissions: Set the permissions to apply the rule for Read, Write, Create, and Delete.

4. Save the Rule:

   - Save the record rule.

Step 4: Assign Users to the New Group

1. Assign Users:

   - Go to Settings > Users & Companies > Users.

   - Select the users you want to restrict.

   - In the Access Rights tab, add them to the "Blog Post Authors" group.


Hope it helps

0
Avatar
Verwerfen
Avatar
Stardust
Autor Beste Antwort

Thank you for the answers! I followed the steps in Cybrosys Techno Solutions Pvt.Ltd's answer and they work like a charm! The one downside with the setup is that users now can't even view the blog posts of other users but I'm generally fine with that as logging out will sort that out easily. Thanks for the help once again!

0
Avatar
Verwerfen
Avatar
Niyas Raphy (Walnut Software Solutions)
Beste Antwort

Hi,
Did you try by adding a record rule for the blog post model ?

Thanks

0
Avatar
Verwerfen
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
Importing articles to the blog Gelöst
blog website
Avatar
Avatar
2
Juni 22
4157
ODOO 14 Blog : showing author and time of publication
blog website
Avatar
Avatar
2
Nov. 21
3816
How to display last blogpost title in home page?
blog website
Avatar
Avatar
Avatar
2
Feb. 16
4952
Blog page translation - automatic translation not working anymore Gelöst
website_builder blog website
Avatar
Avatar
Avatar
2
Okt. 25
682
Conditional editing restriction
inventory website access rights
Avatar
0
Juli 24
1741
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Bildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now