Home › Forum › Amministrazione WP › Permessi modifica articoli
-
AutorePost
-
-
9 Novembre 2010 alle 15:06 #15557giangel84Partecipante
Salve a tutti.
Sto utilizzando il Plugin Capability Manager per gestire permessi e ruoli dei vari utenti.
Ho dato il permesso agli editori, di poter aggiornare, modificare e pubblicare in modo autonomo i propri articoli e quelli di altri autori.
Capita però che ci siano degli editori che modificano gli articoli di altri editori.
Per risolvere tale problema, Vorrei fare in modo che gli editori una volta entrati nel pannello degli articoli, possano modificare e pubblicare solo gli articoli “in revisione” scritti da utenti il cui livello sia “autore” o inferiore.
C’è un plugin che permetta di farlo o si potrebbe modificare il file edit.php in qualche modo?
Grazie mille, come sempre.
-
9 Novembre 2010 alle 18:21 #78438AndreamkPartecipante
Non modificare nessun file core di wordpress puoi agire su tutti i comportamenti
aggiungendo azioni e filtri.
http://codex.wordpress.org/Function_Reference/add_action
http://codex.wordpress.org/Function_Reference/add_filter
Se ti interessa studiare wordpress il mio consiglio è di crearti un miniplugin
trovare l’azione che fa al caso tuo e agire di conseguenza.
Per certo ti posso dire che si può sia bloccare la pubblicazione sia filtrare l’elenco dei post in modo
che appaiono solo quelli dell’autore. Ma non mi è ancora capitato questo tipo ri problematica qundi
non posso indicarti esattamente come agire
Andrea
-
10 Novembre 2010 alle 1:18 #78451giangel84Partecipante
Conosco quelle funzioni.
Vedrò di studiarne un’utilizzo appropriato al mio scopo.
Grazie dell’input!
-
20 Settembre 2013 alle 21:10 #106373bb67Partecipante
Aiuto!
ho creato sul mio sito diversi utenti dando loro la possibilità di modificare solo una pagina del sito con il plugin Role scoper ma da quel momento non ho più la possibilità di pubblicare niente come amministratore. Non so cosa ho cambiato e non avrei dovuto. Qualquno può aiutarmi? quali parametri devo controllare?
-
20 Settembre 2013 alle 21:15 #106374
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.