tiki-wiki


tiki-wiki: how do i force newly created pages into a category based on the user's group?


I need for certain users to only be able to create pages in certain categories based on their permissions. One reason for this is approvals ("flagged revisions"). If a user can create content outside of any category, then it could show up live on the web site. Even thought it wouldn't initially be linked anywhere directly in an existing page (except other unapproved pages) this can still be a problem.
I can prevent the user from creating a new page in the global scope (apparently this corresponds simply to "edit" permissions as I don't see a special permission for creating new pages), and then I can grant them permission to edit pages in the category their group is authorized to edit. But I can no longer see the "Menu:Wiki:Create a Wiki Page" option, and I can't figure out how to allow the user to create a new page in that category.
I can edit the group and set the "Default category assigned to uncategorized objects edited by a user with this default group" to the desired category. When I do that, a user in that group now has a "Create a Wiki Page" option show up in the Menu:Wiki sub-menu, but clicking on that does not bring up a new page for editing; instead if just brings up a list of existing wiki pages, without the option to create a new one!
If I create a link to the new page from an existing page, I am unable to edit it in any way. Clicking the link takes me to a page which indicates that the page does not exist, but which does not provide any way to edit it. Putting the title of the page directly in the URL, as in tiki-editpage.php?page=New+Page+Name brings up a "You do not have permission to edit this page" error page. Since any new page created by the user should have the category they have permission to edit, this does not make sense unless the category isn't set until after the initial edit permission check occurs, which creates a catch-22!
How do I let the user create a new page in any of the categories they have permissions to edit in?
If Categories are not the best tool for the task that's okay too. I don't really understand the difference between Categories and Structures with regards to which is better for what I'm trying to accomplish, however it seems Categories are the more "native" feature, which is why I am trying to use them.

Related Links

Tikiwiki 16.2 Error while registering new user
Tikiwiki version 15.3 There is no email sent when user setup forum thread watch
Tiki Wiki CustomSearch destdiv parameter
How can I decide what fields are shown in the user registration form using the user tracker? - Tiki
tiki-wiki: How to copy a structure into another Or how to duplicate a structure
error in tables while ugprading database
tiki-wiki: how do i force newly created pages into a category based on the user's group?
Limit page creation
TIKI Custom menu no any CSS applied
Embed content from another TikiWiki page into current page
tiki-wiki: How to create a tree view category structure?
tiki-wiki: How to batch import categorized articles from a CSV file
Using LDAP on Tiki-Wiki

Categories

HOME
gdb
ggplot2
dns
redux-form
google-spreadsheet
fftw
spring-data-redis
gradient
entity-framework-core
azure-container-service
nfs
title
character
recordrtc
extjs4.2
okhttp
spring-social
pybossa
entitymanager
soci
foreign-keys
swagger-2.0
asciidoctor-pdf
named-entity-recognition
inno-download-plugin
string-concatenation
resourcebundle
licensing
tpm
carrierwave
google-cast
autodesk-designautomation
dst
sql-server-2000
playstation-portable
papaparse
login-script
sharding
slacktextviewcontroller
least-squares
imx6
latitude-longitude
apic
parse-tree
openalpr
railstutorial.org
css-position
demo
watchface
android-softkeyboard
datacachefactory
dbnull
flask-login
mesosphere
robomongo
geotiff
singleinstance
skin
jqchart
quicktime
template-toolkit
cfchart
cda
relativelayout
iced-coffeescript
linked-tables
alloy-ui
qtwebengine
easyrtc
webfinger
winginx
vbe
nevron
kaleidoscope
dolby-audio-api
onmousemove
vfs
saleslogix
correlated-subquery
paginator
jsr286
box2d-iphone
procedures
landscape-portrait
mysql-error-1205
strsep
cdonts
socketserver
office-2007
binomial-heap
message-passing
lxr
silverlight-oob
windows-identity
scrubyt
httpcookie
online-storage

Resources

Encrypt Message