[resolved] import de données - status

More
11 years 6 months ago #36706 by micker
dans la config generale de flexicontent activer le statu publier pour les nouveaux contenus
cela devrait resoudre ton soucis ... a voir si cela va par rapport à ta config

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #36709 by tonnick
J'imagine que tu te referes à configuration >> Workflow & notifications >> Default state for new items

C'est deja en published.

Mon utilisateur fait partie d'un groupe qui a acces au backend pour faire l'import de donnee avec Group Parent : manager. Il a donc des droits superieur à autheur.

Et même avec tout ca, en cochant la case "published" lors del'import, ca reste en draft....

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #36710 by tonnick
et voici les permissions du groupe (j'ai restreint les modifications a owner pour que ce user ne puisse gerer qu'une partie du site) :

Items/Categories (inherited): create Allowed
Items/Categories (inherited): edit Not Allowed
Items/Categories (inherited): edit own Allowed
Items/Categories (inherited): edit state Not Allowed
Items/Categories (inherited): edit state own Allowed
Items/Categories (inherited): delete Not Allowed
Items/Categories (inherited): delete own Allowed
Items/Categories (Global Only): Set Access Level Not Allowed
Items (Backend Tab): Display all Allowed
Items (Backend Tab): Copy Task Not Allowed
Items (Backend Tab): Reorder Not Allowed
Items (Item edit Form): set params Not Allowed
Items (Item edit Form): use versions Allowed
Items (Item edit Form): associate any translation Not Allowed
Items (Item edit Form): edit creation date (frontend) Not Allowed
Items (Frontend Content Lists): ignore view state Not Allowed

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #36715 by ggppdk
Hello
so the user has "edit state own" in all categories or at least he has "edit state own" in the main category of the item.

Please tell us these:

1. who is the owner of the created items?
is this set as the current user (the user that made the import) or is it set to other user?

2. if the user tries to edit the newly created (via import) item is he/she allowed to change state?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #36721 by tonnick
Hi !

Hello
so the user has "edit state own" in all categories or at least he has "edit state own" in the main category of the item.

>> this is configuration put in general configuration, not in a specific category

Please tell us these:

1. who is the owner of the created items?
is this set as the current user (the user that made the import) or is it set to other user?

Owner is the one which do the import (so, the same)


2. if the user tries to edit the newly created (via import) item is he/she allowed to change state?

yes he can

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #36734 by ggppdk
Hello,
to apply a fix now:

In file:
administrator/components/com_flexicontent/models/parentitemclass.php

Find line
if ($isnew) $item->catid = $data; //...
and after it add:
if ($isnew) $item->created_by = $user->get('id');


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.990 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline